TaskConstants<T> Class
Provides completed task constants.
Namespace: Microsoft.Azure.Devices.Client.Common
Assembly: Microsoft.Azure.Devices.Client (in Microsoft.Azure.Devices.Client.dll)
Inheritance Hierarchy
System.Object
Microsoft.Azure.Devices.Client.Common.TaskConstants<T>
Syntax
public static class TaskConstants<T>
generic<typename T>
public ref class TaskConstants abstract sealed
Type Parameters
- T
The type of the task result.
Properties
| Name | Description | |
|---|---|---|
![]() ![]() |
Canceled | A task that has been canceled. |
![]() ![]() |
Default | A task that has been completed with the default value of T. |
![]() ![]() |
Never | A Task that will never complete. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Azure.Devices.Client.Common Namespace
Return to top
.jpeg)
.gif)