共用方式為


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

'宣告
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

See Also

Reference

ThreadHelper Class

Microsoft.VisualStudio.Shell Namespace