Skip to content

IQueueAdapterReceiver.Shutdown(TimeSpan, CancellationToken)

Shutdown(TimeSpan, CancellationToken)

virtual
View source
public virtual Task Shutdown(TimeSpan timeout, CancellationToken cancellationToken)
Shuts down this receiver and cleans up.

Parameters

timeoutTimeSpan
The timeout for this operation.
cancellationTokenCancellationToken
The cancellation token.

Returns

A System.Threading.Tasks.Task representing the operation.