Redigera

Dela via


AsyncResult.SetMessageCtrl(IMessageCtrl) Method

Definition

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

public:
 virtual void SetMessageCtrl(System::Runtime::Remoting::Messaging::IMessageCtrl ^ mc);
public virtual void SetMessageCtrl (System.Runtime.Remoting.Messaging.IMessageCtrl mc);
abstract member SetMessageCtrl : System.Runtime.Remoting.Messaging.IMessageCtrl -> unit
override this.SetMessageCtrl : System.Runtime.Remoting.Messaging.IMessageCtrl -> unit
Public Overridable Sub SetMessageCtrl (mc As IMessageCtrl)

Parameters

mc
IMessageCtrl

The IMessageCtrl for the current remote method call.

Remarks

You do not need to call the SetMessageCtrl method.

Applies to