System.Runtime.Remoting.RemotingServices.IsOneWay Method

Returns a Boolean value that indicates whether the client that called the method specified in the given message is waiting for the server to finish processing the method before continuing execution.


public static bool IsOneWay (System.Reflection.MethodBase method)


The method in question.


true if the method is one way; otherwise, false.


When a one-way method is called, the client does not wait for the server to finish processing the message. The client method returns to the application with no knowledge of whether or not the server will successfully process the message. Methods are marked as one way using the System.Runtime.Remoting.Messaging.OneWayAttribute.

One-way methods cannot have a return value or any out parameters.


Namespace: System.Runtime.Remoting
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0,,