DisposableObject.ThrowIfDisposed Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Throws an ObjectDisposedException if this object has been disposed.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Protected Sub ThrowIfDisposed
protected void ThrowIfDisposed()
.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.