Id Property

Task.Id Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets a unique ID for this Task instance.

Namespace:  System.Threading.Tasks
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Public ReadOnly Property Id As Integer

Property Value

Type: System.Int32
An integer that was assigned by the system to this task instance.

Task IDs are assigned on-demand and do not necessarily represent the order in the which Task instances were created.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft