This documentation is archived and is not being maintained.

ThreadHelper.GetInvocationWrapper Method

Gets the invocation wrapper.

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

protected abstract IDisposable GetInvocationWrapper()

Return Value

Type: System.IDisposable
A disposable wrapper.

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

Show: