FabricRuntime.getNodeContextAsync(Duration timeout) Method

Definition

Gets Node Context from Fabric Node asynchronously with timeout and cancellation token.

public static CompletableFuture<NodeContext> getNodeContextAsync(Duration timeout)

Parameters

timeout
Duration

The maximum amount of time Service Fabric will allow this operation to continue before returning a TimeoutException

Returns

CompletableFuture<NodeContext>

The task representing the asynchronous operation.

Applies to