IAsyncReasonDisposable
Ecng.Common
Interface for async disposable objects that can be disposed with a reason.
Implementiert: IAsyncDisposable
Eigenschaften
Methoden
DisposeAsync
public ValueTask<bool> DisposeAsync(string reason)
result = iAsyncReasonDisposable.DisposeAsync(reason)
Disposes the object asynchronously with a reason.
- reason
- The reason for disposal.
Rückgabe: true if the object was successfully disposed; otherwise, false.