次の方法で共有


Task.Status Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the TaskStatus of this Task.

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

Syntax

'Declaration
Public ReadOnly Property Status As TaskStatus
public TaskStatus Status { get; }

Property Value

Type: System.Threading.Tasks.TaskStatus
The current TaskStatus of this task instance.

Remarks

For more information and an example, see How to: Chain Multiple Tasks with Continuations and How to: Cancel a Task and Its Children.

Version Information

Silverlight

Supported in: 5

Platforms

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