共用方式為


IReplicator.UpdateEpochAsync(Epoch, CancellationToken) Method

Definition

This supports the Service Fabric infrastructure and is not meant to be used directly from your code.

public System.Threading.Tasks.Task UpdateEpochAsync (System.Fabric.Epoch epoch, System.Threading.CancellationToken cancellationToken);
abstract member UpdateEpochAsync : System.Fabric.Epoch * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function UpdateEpochAsync (epoch As Epoch, cancellationToken As CancellationToken) As Task

Parameters

epoch
Epoch

This supports the Service Fabric infrastructure and is not meant to be used directly from your code.

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

This supports the Service Fabric infrastructure and is not meant to be used directly from your code.

Applies to