Partager via


ThreadHelper.GetInvocationWrapper Method

Definition

Derived classes must implement the GetInvocationWrapper method to implement a a disposable object that will wrap the called method. This may be null.

protected:
 abstract IDisposable ^ GetInvocationWrapper();
protected abstract IDisposable GetInvocationWrapper ();
abstract member GetInvocationWrapper : unit -> IDisposable
Protected MustOverride Function GetInvocationWrapper () As IDisposable

Returns

A disposable wrapper.

Applies to