CrossContextDelegate Delegate

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Represents the method that will handle the requests of execution of some code in another context.

Namespace:   System.Runtime.Remoting.Contexts
Assembly:  mscorlib (in mscorlib.dll)

[ComVisibleAttribute(true)]
public delegate void CrossContextDelegate()

Callbacks provide a facility to request execution of some code in another context. The CrossContextDelegate class is defined for context callbacks. Each context has a callback object that can be used to perform callbacks on the context. The delegate used to request a callback through the callback object must be of the CrossContextDelegate class.

.NET Framework
Available since 1.1
Return to top
Show: