Returns the unique ID of the currently executing Task.
static member CurrentId : Nullable<int> with get
Type: System.Nullable(Int32)An integer that was assigned by the system to the currently-executing task.
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