| AsyncResultT Class |
Namespace: PatchKit.Async
public class AsyncResult<T> : ICancellableAsyncResult, IAsyncResult
The AsyncResultT type exposes the following members.
| Name | Description | |
|---|---|---|
| AsyncResultT(FuncT, AsyncCallback, Object) | Initializes a new instance of the AsyncResultT class | |
| AsyncResultT(FuncAsyncCancellationToken, T, CancellableAsyncCallback, Object) | Initializes a new instance of the AsyncResultT class |
| Name | Description | |
|---|---|---|
| AsyncState | ||
| AsyncWaitHandle | ||
| CanBeCancelled | ||
| CompletedSynchronously | ||
| Exception |
Exception which was raised by async operation.
| |
| IsCancelled | ||
| IsCompleted | ||
| Result |
Result of async opperation.
|
| Name | Description | |
|---|---|---|
| Cancel | ||
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| FetchResultsFromAsyncOperationT |
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.
(Defined by AsyncResultExtensions.) |