FabricReplicator.IPrimaryReplicator.OnDataLossAsync(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 supports the Service Fabric infrastructure and is not meant to be used directly from your code.
System.Threading.Tasks.Task<bool> IPrimaryReplicator.OnDataLossAsync (System.Threading.CancellationToken cancellationToken);
abstract member System.Fabric.IPrimaryReplicator.OnDataLossAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.System.Fabric.IPrimaryReplicator.OnDataLossAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Function OnDataLossAsync (cancellationToken As CancellationToken) As Task(Of Boolean) Implements IPrimaryReplicator.OnDataLossAsync
Parameters
- cancellationToken
- CancellationToken
The CancellationToken object that the operation is observing. It can be used to send a notification that the operation should be canceled. Note that cancellation is advisory and that the operation might still be completed even if it is canceled.
Returns
A task that represents the asynchronous operation.
Implements
Applies to
Azure SDK for .NET