Export (0) Print
Expand All

AsyncResult.GetReplyMessage Method

Gets the response message for the asynchronous call.

Namespace:  System.Runtime.Remoting.Messaging
Assembly:  mscorlib (in mscorlib.dll)

public virtual IMessage GetReplyMessage()

Return Value

Type: System.Runtime.Remoting.Messaging.IMessage
A remoting message that should represent a response to a method call on a remote object.

The GetReplyMessage method can return an object after the SyncProcessMessage method is called. The IMessage return value can be cast to an 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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft