StatefulServiceBase.OnRestoreCompletedAsync(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.
This method is called when replica's state has been restored successfully via the Backup Restore service. This is only supported when the reliable state provider replica object passed in the constructor is derived from IStateProviderReplica2.
protected virtual System.Threading.Tasks.Task OnRestoreCompletedAsync (System.Threading.CancellationToken cancellationToken);
abstract member OnRestoreCompletedAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.OnRestoreCompletedAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Overridable Function OnRestoreCompletedAsync (cancellationToken As CancellationToken) As Task
Parameters
- cancellationToken
- CancellationToken
CancellationToken to monitor for cancellation requests.
Returns
A Task that represents the asynchronous operation.
Applies to
Azure SDK for .NET