System.Runtime.Remoting.Messaging.AsyncResult.SetMessageCtrl Method

Sets an System.Runtime.Remoting.Messaging.IMessageCtrl for the current remote method call, which provides a way to control asynchronous messages after they have been dispatched.

Syntax

public virtual void SetMessageCtrl (IMessageCtrl mc)

Parameters

mc
The System.Runtime.Remoting.Messaging.IMessageCtrl for the current remote method call.

Remarks

You do not need to call the AsyncResult.SetMessageCtrl(IMessageCtrl) method.

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