Click or drag to resize
DigitalRuneTaskTGetResult Method
Gets the result. (Blocks the calling thread until the asynchronous operation has completed execution. This can only be called once!)

Namespace: DigitalRune.Threading
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
public T GetResult()

Return Value

Type: T
The result of the asynchronous operation.
Exceptions
ExceptionCondition
TaskException The task or a child task has thrown an exception.
InvalidOperationException The result of the TaskT has already been retrieved. The method GetResult can only be called once.
See Also