Bagikan melalui


DurabilityProvider.MakeCurrentAppPrimaryAsync Method

Definition

Makes the current app the primary app, if it isn't already. Must be using the AppLease feature.

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

Returns

A task that completes when the operation has started.

Applies to