Share via


ThreadHelper.GetInvocationWrapper Method

Gets the invocation wrapper.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Protected MustOverride Function GetInvocationWrapper As IDisposable
protected abstract IDisposable GetInvocationWrapper()
protected:
virtual IDisposable^ GetInvocationWrapper() abstract
abstract GetInvocationWrapper : unit -> IDisposable
protected abstract function GetInvocationWrapper() : IDisposable

Return Value

Type: System.IDisposable
A disposable wrapper.

Remarks

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

.NET Framework Security

See Also

Reference

ThreadHelper Class

Microsoft.VisualStudio.Shell Namespace