AsyncDisposableObject.DisposingAsyncEventHandler Delegate

Definition

Event handler used when a AsyncDisposableObject is being disposed.

public delegate System.Threading.Tasks.ValueTask AsyncDisposableObject.DisposingAsyncEventHandler(object? sender);
type AsyncDisposableObject.DisposingAsyncEventHandler = delegate of obj -> ValueTask
Public Delegate Function AsyncDisposableObject.DisposingAsyncEventHandler(sender As Object) As ValueTask 

Parameters

sender
Object

The object that is being disposed.

Return Value

A task to track the async work.

Applies to