Represents the status of an asynchronous operation.
It adds support for Cancelation of the asynchronous operation.
Declaration Syntax
C# |
public class AsyncCancelableResult : IAsyncCancelableResult, IAsyncResult, IDisposable
Members
All Members | Methods | Properties | |||
Icon | Member | Description |
---|---|---|
AsyncState |
Gets a user-defined object that qualifies or contains information about an
asynchronous operation.
| |
AsyncWaitHandle |
Gets a System.Threading.WaitHandle that is used to wait for an asynchronous
operation to complete.
| |
Cancel()()()() |
Cancels the asynchronous operation if it's in progress.
| |
CompletedSynchronously |
Gets a value that indicates whether the asynchronous operation completed
synchronously.
| |
Dispose()()()() |
Performs application-defined tasks associated with freeing, releasing, or
resetting unmanaged resources.
| |
Equals(Object) | (Inherited from Object.) | |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
IsCanceled |
Gets a value that indicated whether the asynchronous operation has been canceled.
| |
IsCompleted |
Gets a value that indicates whether the asynchronous operation has completed.
| |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
Inheritance Hierarchy
Object | |
AsyncCancelableResult |