Share via


IDurableOrchestrationClient.MakeCurrentAppPrimaryAsync Method

Definition

Makes the current app the primary app, if it isn't already. Must be using the AppLease feature by setting UseAppLease to true in host.json.

public System.Threading.Tasks.Task MakeCurrentAppPrimaryAsync ();
abstract member MakeCurrentAppPrimaryAsync : unit -> System.Threading.Tasks.Task
Public Function MakeCurrentAppPrimaryAsync () As Task

Returns

A task that completes when the operation has started.

Applies to