Context.DoCallBack(CrossContextDelegate) Context.DoCallBack(CrossContextDelegate) Context.DoCallBack(CrossContextDelegate) Context.DoCallBack(CrossContextDelegate) Method

定义

执行另一上下文中的代码。Executes code in another context.

此 API 支持产品基础结构,不能在代码中直接使用。

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
Public Sub DoCallBack (deleg As CrossContextDelegate)

参数

deleg
CrossContextDelegate CrossContextDelegate CrossContextDelegate CrossContextDelegate

用于请求回调的委托。The delegate used to request the callback.

注解

通过传入委托, 可以通过对其DoCallBack调用方法来完成回调。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. 委托必须是CrossContextDelegate类类型。The delegate must be a CrossContextDelegate class type.

适用于