AsyncResult.GetReplyMessage Method

Definition

Gets the response message for the asynchronous call.

public:
 virtual System::Runtime::Remoting::Messaging::IMessage ^ GetReplyMessage();
public virtual System.Runtime.Remoting.Messaging.IMessage GetReplyMessage ();
abstract member GetReplyMessage : unit -> System.Runtime.Remoting.Messaging.IMessage
override this.GetReplyMessage : unit -> System.Runtime.Remoting.Messaging.IMessage
Public Overridable Function GetReplyMessage () As IMessage

Returns

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

Remarks

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.

Applies to