Bewerken

Share via


CrossContextDelegate Delegate

Definition

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

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

public delegate void CrossContextDelegate();
public delegate void CrossContextDelegate();
[System.Runtime.InteropServices.ComVisible(true)]
public delegate void CrossContextDelegate();
type CrossContextDelegate = delegate of unit -> unit
[<System.Runtime.InteropServices.ComVisible(true)>]
type CrossContextDelegate = delegate of unit -> unit
Public Delegate Sub CrossContextDelegate()
Attributes

Remarks

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.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to