Id Property

Task.Id Property

Gets a unique ID for this Task instance.

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

public int Id { get; }

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.


Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

© 2015 Microsoft