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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.