BackgroundTaskCompletedEventArgs.InstanceId 属性

定义

获取此完成状态通知的后台任务实例的标识符。

public:
 property Platform::Guid InstanceId { Platform::Guid get(); };
winrt::guid InstanceId();
public Guid InstanceId { get; }
var guid = backgroundTaskCompletedEventArgs.instanceId;
Public ReadOnly Property InstanceId As Guid

属性值

Guid

Platform::Guid

winrt::guid

系统创建后台任务实例时生成的唯一标识符。

适用于