共用方式為


FabricReplicator.IReplicator.OpenAsync(CancellationToken) Method

Definition

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

System.Threading.Tasks.Task<string> IReplicator.OpenAsync (System.Threading.CancellationToken cancellationToken);
abstract member System.Fabric.IReplicator.OpenAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.System.Fabric.IReplicator.OpenAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Function OpenAsync (cancellationToken As CancellationToken) As Task(Of String) Implements IReplicator.OpenAsync

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