Skip to content

IEventHubReceiver.CloseAsync(CancellationToken)

CloseAsync(CancellationToken)

virtual
View source
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.