.NET Framework 4.6 and 4.5
Gets a unique ID for this Task instance.
(in System.Threading.Tasks.dll) mscorlib
Type: System.Int32An 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 which task instances are created.
To get the task ID of the currently executing task from within code that that task is executing, use the CurrentId property.
Supported in: 4.6, 4.5, 4
.NET Framework Client Profile
Supported in: 4
Portable Class Library
Supported in: Portable Class Library
Supported in: Windows Phone 8.1
Supported in: Windows Phone Silverlight 8.1
Supported in: Windows Phone Silverlight 8
(1500 characters remaining)
Thank you for your feedback