KeyValueStoreReplica.OnCloseAsync(CancellationToken) Method
Definition
Important
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.
Called when this service replica is being shut down and needs to close.
protected virtual System.Threading.Tasks.Task OnCloseAsync (System.Threading.CancellationToken cancellationToken);
abstract member OnCloseAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.OnCloseAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Overridable Function OnCloseAsync (cancellationToken As CancellationToken) As Task
Parameters
- cancellationToken
- CancellationToken
A CancellationToken object that the operation is monitoring, which can be used to notify the task of cancellation.
Returns
The asynchronous operation.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET