AsyncDisposableObject.DisposingAsyncEventHandler Delegate
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.
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.