AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Represents the status of an asynchronous operation. It adds support for Cancelation of the asynchronous operation.
Namespace: Amazon.S3.Util
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z
public class AsyncCancelableResult IAsyncCancelableResult, IAsyncResult, IDisposable
The AsyncCancelableResult type exposes the following members
Name | Type | Description | |
---|---|---|---|
AsyncState | System.Object |
Gets a user-defined object that qualifies or contains information about an asynchronous operation. |
|
AsyncWaitHandle | System.Threading.WaitHandle |
Gets a System.Threading.WaitHandle that is used to wait for an asynchronous operation to complete. |
|
CompletedSynchronously | System.Boolean |
Gets a value that indicates whether the asynchronous operation completed synchronously. |
|
IsCanceled | System.Boolean |
Gets a value that indicated whether the asynchronous operation has been canceled. |
|
IsCompleted | System.Boolean |
Gets a value that indicates whether the asynchronous operation has completed. |
Name | Description | |
---|---|---|
Cancel() |
Cancels the asynchronous operation if it's in progress. |
|
Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5