Click or drag to resize

TaskStateManagement Properties

The TaskStateManagement type exposes the following members.

Properties
 NameDescription
Public propertyException Gets the System.AggregateException that caused the ConcurrentStream to end prematurely. If the ConcurrentStream completed successfully or has not yet thrown any exceptions, this will return null.
Public propertyIsCanceled Gets whether this ConcurrentStream.Task instance has completed execution due to being canceled. Result is true if the task has completed due to being canceled; otherwise false.
Public propertyIsCompleted Gets a value that indicates whether the task has completed. Result is true if the task has completed (that is, the task is in one of the three final states: TaskStatus.RanToCompletion, TaskStatus.Faulted or TaskStatus.Canceled); otherwise, false.
Public propertyIsCompletedSuccessfully Gets whether the task ran to completion. Result is true if the task ran to completion; otherwise false.
Public propertyIsFaulted Gets whether the ConcurrentStream.Task completed due to an unhandled exception. Reslt is true if the task has thrown an unhandled exception; otherwise false.
Public propertyStatus Gets the TaskStatus of this task.
Top
See Also