AWS SDK Version 2 for .NET
API Reference

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.

.NET Framework 3.5
 
Represents the status of an asynchronous operation. It adds support for Cancelation of the asynchronous operation.

Inheritance Hierarchy

System.Object
  Amazon.S3.Util.AsyncCancelableResult

Namespace: Amazon.S3.Util
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class AsyncCancelableResult : Object
         IAsyncCancelableResult, IAsyncResult, IDisposable

The AsyncCancelableResult type exposes the following members

Properties

NameTypeDescription
Public Property AsyncState System.Object Gets a user-defined object that qualifies or contains information about an asynchronous operation.
Public Property AsyncWaitHandle System.Threading.WaitHandle Gets a System.Threading.WaitHandle that is used to wait for an asynchronous operation to complete.
Public Property CompletedSynchronously System.Boolean Gets a value that indicates whether the asynchronous operation completed synchronously.
Public Property IsCanceled System.Boolean Gets a value that indicated whether the asynchronous operation has been canceled.
Public Property IsCompleted System.Boolean Gets a value that indicates whether the asynchronous operation has completed.

Methods

NameDescription
Public Method Cancel() Cancels the asynchronous operation if it's in progress.
Public Method Dispose() Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5