System.Runtime.Remoting.Messaging.AsyncResult.GetReplyMessage Method

Gets the response message for the asynchronous call.

Syntax

public virtual IMessage GetReplyMessage ()

Returns

A remoting message that should represent a response to a method call on a remote object.

Remarks

The AsyncResult.GetReplyMessage method can return an object after the AsyncResult.SyncProcessMessage(IMessage) method is called. The System.Runtime.Remoting.Messaging.IMessage return value can be cast to an System.Runtime.Remoting.Messaging.IMethodReturnMessage.

However, you do not need to call either of these methods directly. They are intended for use by the remoting infrastructure of the .NET Framework.

Requirements

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