Replicator.openAsync(CancellationToken cancellationToken) 方法

定义

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

public CompletableFuture<String> openAsync(CancellationToken cancellationToken)

参数

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.

返回

CompletableFuture<String>

A future that represents the asynchronous operation. The future completes exceptionally with FabricException for fabric related failures.

适用于