AWS SDK Version 3 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.

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.S3.dll
Version: 3.x.y.z

Syntax

C#
public class AsyncCancelableResult
         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

Note:

Asynchronous operations (methods ending with Async) in the table below are for .NET 4.5 or higher. For .NET 3.5 the SDK follows the standard naming convention of BeginMethodName and EndMethodName to indicate asynchronous operations - these method pairs are not shown in the table below.

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

Unity:
Supported Versions: 4.6 and above
Supported Platforms: Android, iOS, Standalone