AppExecutionStateChangeResult 类

定义

提供尝试更改应用执行状态 (的结果,例如从运行更改为挂起) 。

public ref class AppExecutionStateChangeResult 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 AppExecutionStateChangeResult 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 AppExecutionStateChangeResult
Public NotInheritable Class AppExecutionStateChangeResult
继承
Object Platform::Object IInspectable AppExecutionStateChangeResult
属性

Windows 要求

设备系列
Windows 10, version 1803 (在 10.0.17134.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v6.0 中引入)

属性

ExtendedError

获取尝试更改应用执行状态可能导致的错误信息(如果有)。

适用于

另请参阅