CloseAsync(CancellationToken)
virtual
public virtual Task CloseAsync(CancellationToken cancellationToken) Sends a cleanup message which can be canceled.
Parameters
cancellationTokenCancellationToken- The token used to cancel the operation.
Returns
A task representing the operation.
