System.Runtime.Remoting.Contexts.Context.DoCallBack Method

Executes code in another context.

Syntax

public void DoCallBack (CrossContextDelegate deleg)

Parameters

deleg
The delegate used to request the callback.

Remarks

A callback can be done by calling the Context.DoCallBack(CrossContextDelegate) method on it by passing in a delegate. The delegate is used to request a callback. The delegate must be a System.Runtime.Remoting.Contexts.CrossContextDelegate class type.

Requirements

Namespace: System.Runtime.Remoting.Contexts
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0