ThreadHelper.GetInvocationWrapper Method
Derived classes must implement the GetInvocationWrapper method to implement a a disposable object that will wrap the called method. This may be null.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Protected MustOverride Function GetInvocationWrapper As IDisposable
'Utilisation
Dim returnValue As IDisposable
returnValue = Me.GetInvocationWrapper()
protected abstract IDisposable GetInvocationWrapper()
protected:
virtual IDisposable^ GetInvocationWrapper() abstract
abstract GetInvocationWrapper : unit -> IDisposable
protected abstract function GetInvocationWrapper() : IDisposable
Return Value
Type: System.IDisposable
.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.