OnDisposeActionDisposable Class
Definition
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 utility class that provides an implementation of IDisposable that executes a client-supplied action upon disposal.
public ref class OnDisposeActionDisposable sealed : IDisposable
public sealed class OnDisposeActionDisposable : IDisposable
type OnDisposeActionDisposable = class
interface IDisposable
Public NotInheritable Class OnDisposeActionDisposable
Implements IDisposable
- Inheritance
-
OnDisposeActionDisposable
- Implements
Constructors
OnDisposeActionDisposable(Action) |
Initializes a new instance of an IDisposable object that invokes
|
Methods
Dispose() |