AsyncResult::SyncProcessMessage Method (IMessage^)
Synchronously processes a response message returned by a method call on a remote object.
Assembly: mscorlib (in mscorlib.dll)
public: [SecurityCriticalAttribute] virtual IMessage^ SyncProcessMessage( IMessage^ msg )
A response message to a method call on a remote object.
Return ValueType: System.Runtime.Remoting.Messaging::IMessage^
The IMessageSink interface. You do not need to call this method directly. It is intended for use by the remoting infrastructure of the .NET Framework.method implements the
AsyncCallback delegate. It also sets the IMethodReturnMessage instance returned by the GetReplyMessage method. If the msg parameter is of type IMethodReturnMessage, the same object is returned by GetReplyMessage. Otherwise, a reply message that contains a remoting exception is returned.invokes the consumer code's
IsCompleted property.also modifies the value returned by the
Available since 1.1