通过


IBackgroundActivatedEventArgs 接口

定义

使 IBackgroundTask.Run 方法中的所有数据在后台触发器激活应用时可供事件处理程序使用。

public interface class IBackgroundActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.Guid(2870263520, 59232, 17422, 169, 28, 68, 121, 109, 227, 169, 45)]
struct IBackgroundActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.Guid(2870263520, 59232, 17422, 169, 28, 68, 121, 109, 227, 169, 45)]
public interface IBackgroundActivatedEventArgs
Public Interface IBackgroundActivatedEventArgs
派生
属性

Windows 要求

要求 说明
设备系列
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)

属性

名称 说明
TaskInstance

获取 IBackgroundTask.Run 方法可用的数据,该数据导致应用被激活。

适用于