AsyncResult.SetMessageCtrl(IMessageCtrl) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.