Table of Contents

AsyncDisposable Class

Definition

Namespace
Cuemon.Extensions
Assemblies
Cuemon.Extensions.Core.dll
Source
src/Cuemon.Extensions.Core/AsyncDisposable.cs

Provides a mechanism for asynchronously releasing both managed and unmanaged resources with focus on the former.

public abstract class AsyncDisposable : Disposable, IDisposable, IAsyncDisposable
Inheritance
AsyncDisposable
Implements
Inherited Members
Extension Methods

Methods

Name Description
DisposeAsync()

Asynchronously releases the resources used by the AsyncDisposable.

OnDisposeManagedResources()

Called when this object is being disposed by either Dispose() or Dispose(bool) having disposing set to true and Disposed is false.

OnDisposeManagedResourcesAsync()

Called when this object is being disposed by DisposeAsync().

See Also