DisposableObject Class
This API supports the product infrastructure and is not intended to be used directly from your code.
Microsoft internal use only.
Assembly: Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)
Microsoft.VisualStudio.PlatformUI.DisposableObject
Microsoft.VisualStudio.Imaging.ImageLibrary
Microsoft.VisualStudio.PlatformUI.EnvironmentRenderCapabilities
Microsoft.VisualStudio.PlatformUI.HwndWrapper
Microsoft.VisualStudio.PlatformUI.OleComponentSupport.OleComponent
Microsoft.VisualStudio.Shell.HierarchyManipulationStateScope
Microsoft.VisualStudio.Shell.HierarchyTreeFilterProvider.HierarchyTreeFilter
Microsoft.VisualStudio.Shell.NewDocumentStateScope
Microsoft.VisualStudio.Shell.SingleTaskIdleManager
Microsoft.VisualStudio.Utilities.FileStreamStorage<TKey>
Microsoft.VisualStudio.Utilities.StreamStorageMonitor<TKey>
| Name | Description | |
|---|---|---|
![]() | DisposableObject() | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft internal use only. |
| Name | Description | |
|---|---|---|
![]() | IsDisposed | This API supports the product infrastructure and is not intended to be used directly from your code. Returns whether the object has been disposed once, which protects against double disposal. |
| Name | Description | |
|---|---|---|
![]() | Dispose() | This API supports the product infrastructure and is not intended to be used directly from your code. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
![]() | Dispose(Boolean) | This API supports the product infrastructure and is not intended to be used directly from your code. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Standard virtual overload for IDisposable pattern. |
![]() | DisposeManagedResources() | This API supports the product infrastructure and is not intended to be used directly from your code. Allows derived classes to provide custom dispose handling for managed resources. |
![]() | DisposeNativeResources() | This API supports the product infrastructure and is not intended to be used directly from your code. Allows derived classes to provide custom dispose handling for native resources. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | This API supports the product infrastructure and is not intended to be used directly from your code. Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Overrides Object.Finalize().) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ThrowIfDisposed() | This API supports the product infrastructure and is not intended to be used directly from your code. Throws an ObjectDisposedException if this object has been disposed. |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | Disposing | This API supports the product infrastructure and is not intended to be used directly from your code. Raised when the event is being disposed, that is, while it is still accessible. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



