Bus Receiver. Close Async(CancellationToken) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Performs the task needed to clean up resources used by the ServiceBusReceiver.
public virtual System.Threading.Tasks.Task CloseAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member CloseAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task override this.CloseAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function CloseAsync (Optional cancellationToken As CancellationToken = Nothing) As Task
An optionalCancellationToken instance to signal the request to cancel the operation.