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.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Protected Sub ThrowIfDisposed
protected void ThrowIfDisposed()
protected:
void ThrowIfDisposed()
member ThrowIfDisposed : unit -> unit
protected function ThrowIfDisposed()

.NET Framework Security

See Also

Reference

DisposableObject Class

Microsoft.VisualStudio.PlatformUI Namespace