AppResourceGroupInfo.StartResumeAsync Method

Definition

Initiate moving the associated app to the active state.

public:
 virtual IAsyncOperation<AppExecutionStateChangeResult ^> ^ StartResumeAsync() = StartResumeAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<AppExecutionStateChangeResult> StartResumeAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<AppExecutionStateChangeResult> StartResumeAsync();
function startResumeAsync()
Public Function StartResumeAsync () As IAsyncOperation(Of AppExecutionStateChangeResult)

Returns

The result of trying to resume the app.

Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)
App capabilities
appDiagnostics

Remarks

Call this method to initiate the standard workflow to bring an app that is in the suspended state back to the active state. This workflow includes calling the app’s Resuming callback.

This method will return as soon as it has initiated the workflow, before the app’s Resuming callback, and before any state changes.

Calling this method on an app that is not suspended will result in a failure.

This method won’t work on ResourceGroups that relate to background tasks because they don’t have the concept of suspend/resume.

This method won’t work on Desktop Bridge apps because they don’t have the concept of suspend/resume.

Applies to

See also