Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Union

TaskOutcome<T>

union struct TaskOutcome<T>

Module: System.Concurrency.Tasks
Assembly: System.Runtime.dll
Source file: TaskOutcome.rvn

Inheritance: Object → ValueType → TaskOutcome<T>

Describes completion or cancellation of a task.

Cases

2 cases

Properties

2 items
HasValue: bool Describes completion or cancellation of a task.
Value: object? Describes completion or cancellation of a task.

Methods

4 items
Equals(other: object?) -> bool Tests reference identity by default; an ordinary class may override equality. Inherited from Object.Equals
GetHashCode() -> int Returns a stable identity hash by default; an ordinary class may override it consistently with equality. Inherited from Object.GetHashCode
GetType() -> TypeInfo Returns metadata for the concrete runtime type of this instance. Inherited from Object.GetType
ToString() -> string Describes completion or cancellation of a task. Overrides Object.ToString