Context.DoCallBack(CrossContextDelegate) 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.
Executes code in another context.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
void DoCallBack(System::Runtime::Remoting::Contexts::CrossContextDelegate ^ deleg);
public void DoCallBack (System.Runtime.Remoting.Contexts.CrossContextDelegate deleg);
[System.Security.SecurityCritical]
public void DoCallBack (System.Runtime.Remoting.Contexts.CrossContextDelegate deleg);
member this.DoCallBack : System.Runtime.Remoting.Contexts.CrossContextDelegate -> unit
[<System.Security.SecurityCritical>]
member this.DoCallBack : System.Runtime.Remoting.Contexts.CrossContextDelegate -> unit
Public Sub DoCallBack (deleg As CrossContextDelegate)
Parameters
- deleg
- CrossContextDelegate
The delegate used to request the callback.
- Attributes
Remarks
A callback can be done by calling the DoCallBack method on it by passing in a delegate. The delegate is used to request a callback. The delegate must be a CrossContextDelegate class type.