BackgroundActivatedEventArgs.TaskInstance 属性

定义

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

public:
 property IBackgroundTaskInstance ^ TaskInstance { IBackgroundTaskInstance ^ get(); };
IBackgroundTaskInstance TaskInstance();
public IBackgroundTaskInstance TaskInstance { get; }
var iBackgroundTaskInstance = backgroundActivatedEventArgs.taskInstance;
Public ReadOnly Property TaskInstance As IBackgroundTaskInstance

属性值

激活应用的 IBackgroundTaskInstance

实现

适用于