Partager via


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

See Also

Reference

ThreadHelper Class

ThreadHelper Members

Microsoft.VisualStudio.Shell Namespace