BackgroundTaskRegistration.TaskId | taskId property

Applies to Windows and Windows Phone

Gets the identifier of a registered background task.

Syntax


var taskId = backgroundTaskRegistration.taskId;

Property value

Type: String [JavaScript] | System.Guid [.NET] | Platform::Guid [C++]

The unique identifier for the task. This identifier is generated by the system when the task is registered.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.ApplicationModel.Background
Windows::ApplicationModel::Background [C++]

Metadata

Windows.winmd

See also

BackgroundTaskRegistration

 

 

Show:
© 2015 Microsoft