DisposeAsync(CancellationToken)
Asynchronously disposes the current object.
Declaration
public ValueTask DisposeAsync(CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
ValueTask | A Task. |
DisposeAsync()
Declaration
public ValueTask DisposeAsync()
Returns
Type | Description |
---|---|
ValueTask |