Click or drag to resize
DigitalRuneTask Structure
Represents an asynchronous operation.

Namespace: DigitalRune.Threading
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
public struct Task : IEquatable<Task>

The Task type exposes the following members.

Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object, is equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Task)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Public methodWait
Waits for the task to complete execution.
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Compares two Tasks to determine whether they are the same.
Public operatorStatic memberInequality
Compares two Tasks to determine whether they are different.
Top
Properties
  NameDescription
Public propertyExceptions
Gets an array containing any exceptions thrown by this task.
Public propertyIsComplete
Gets a value indicating whether the task has completed.
Top
Remarks
An asynchronous task is created by using the class Parallel and calling Start(Action) or one of its overloads.
See Also