Click or drag to resize
AsyncResultExtensionsFetchResultsFromAsyncOperationT Method
Fetches the result from AsyncResultT. If Exception isn't null then it is thrown again as inner exception. If async operation has been cancelled then OperationCanceledException is thrown.

Namespace: PatchKit.Async
Assembly: PatchKit.Async (in PatchKit.Async.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static T FetchResultsFromAsyncOperation<T>(
	this AsyncResult<T> this
)

Parameters

this
Type: PatchKit.AsyncAsyncResultT

Type Parameters

T

Return Value

Type: T
Result retrieved from async result.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type AsyncResultT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ExceptionException as inner exception.
OperationCanceledException When async operation has been cancelled.
See Also