DisposableWrapper Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A disposable that disposes wrapped IDisposable
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
Is |
Returns whether the object has been disposed once, protects against double disposal (Inherited from DisposableObject) |
Dispose() |
Disposes the current object then suppresses further finalization. (Inherited from DisposableObject) |
Dispose(Boolean) |
Standard virtual overload for IDisposable pattern (Inherited from DisposableObject) |
Dispose |
|
Dispose |
Allows derived classes to provide custom dispose handling for native resources (Inherited from DisposableObject) |
Throw |
Throws an ObjectDisposedException if this object has been disposed (Inherited from DisposableObject) |
Disposing |
Raised when the event is being disposed, while it is still accessible. (Inherited from DisposableObject) |
Προϊόν | Εκδόσεις |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |