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
'Declaración
Protected MustOverride Function GetInvocationWrapper As IDisposable
protected abstract IDisposable GetInvocationWrapper()
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.