Share via


AppActivationResult Class

Definition

Gets the result of activating an app via AppDiagnosticInfo.LaunchAsync.

public ref class AppActivationResult sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppActivationResult final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AppActivationResult
Public NotInheritable Class AppActivationResult
Inheritance
Object Platform::Object IInspectable AppActivationResult
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

On success, AppActivationResult.AppResourceGroupInfo will correspond to the newly-activated app instance. On failure, AppActivationResult.ExtendedError will be set appropriately, and AppActivationResult.AppResourceGroupInfo will be null.

Properties

AppResourceGroupInfo

Gets diagnostic information, such as memory and energy use, for the activated app.

ExtendedError

Gets the error information, if any, that may have resulted from trying to activate the app.

Applies to