Shutdown(TimeSpan, CancellationToken)
virtual
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.