Επεξεργασία

Κοινή χρήση μέσω


Context.DoCallBack(CrossContextDelegate) Method

Definition

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.

Applies to