DisposableWrapper DisposableWrapper DisposableWrapper DisposableWrapper DisposableWrapper Class

Definition

public ref class DisposableWrapper : Microsoft::VisualStudio::PlatformUI::DisposableObject
[Windows::Foundation::Metadata::WebHostHidden]
class DisposableWrapper : Microsoft::VisualStudio::PlatformUI::DisposableObject
public class DisposableWrapper : Microsoft.VisualStudio.PlatformUI.DisposableObject
type DisposableWrapper = class
    inherit DisposableObject
Public Class DisposableWrapper
Inherits DisposableObject
Inheritance
DisposableWrapperDisposableWrapperDisposableWrapperDisposableWrapperDisposableWrapper

Constructors

DisposableWrapper(IDisposable) DisposableWrapper(IDisposable) DisposableWrapper(IDisposable) DisposableWrapper(IDisposable) DisposableWrapper(IDisposable)
DisposableWrapper(IDisposable, EventHandler) DisposableWrapper(IDisposable, EventHandler) DisposableWrapper(IDisposable, EventHandler) DisposableWrapper(IDisposable, EventHandler) DisposableWrapper(IDisposable, EventHandler)

Methods

Dispose() Dispose() Dispose() Dispose() Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from DisposableObject)
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Standard virtual overload for IDisposable pattern.

(Inherited from DisposableObject)
DisposeManagedResources() DisposeManagedResources() DisposeManagedResources() DisposeManagedResources() DisposeManagedResources()
DisposeNativeResources() DisposeNativeResources() DisposeNativeResources() DisposeNativeResources() DisposeNativeResources()

Allows derived classes to provide custom dispose handling for native resources.

(Inherited from DisposableObject)
ThrowIfDisposed() ThrowIfDisposed() ThrowIfDisposed() ThrowIfDisposed() ThrowIfDisposed()

Throws an ObjectDisposedException if this object has been disposed.

(Inherited from DisposableObject)

Events

Disposing Disposing Disposing Disposing Disposing

Raised when the event is being disposed, that is, while it is still accessible.

(Inherited from DisposableObject)

Properties

IsDisposed IsDisposed IsDisposed IsDisposed IsDisposed

Returns whether the object has been disposed once, which protects against double disposal.

(Inherited from DisposableObject)

Applies to