Initiates the asynchronous execution of the PutObject operation.
Namespace: Amazon.S3
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public virtual Task<PutObjectResponse> PutObjectAsync( PutObjectRequest request, CancellationToken cancellationToken )
Parameters
- request
-
Type: Amazon.S3.Model.PutObjectRequest
Container for the necessary parameters to execute the PutObject operation.
- cancellationToken
-
Type: System.Threading.CancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Return Value
System.Threading.Tasks.Task`1[[Amazon.S3.Model.PutObjectResponse, AWSSDK, Version=2.0.0.3, Culture=neutral, PublicKeyToken=9f476d3089b52be3]] The task object representing the asynchronous operation.
System.Threading.Tasks.Task`1[[Amazon.S3.Model.PutObjectResponse, AWSSDK, Version=2.0.0.3, Culture=neutral, PublicKeyToken=9f476d3089b52be3]] The task object representing the asynchronous operation.
Version Information
.NET for Windows Store apps:
Supported in: Windows 8
.NET for Windows Phone:
Supported in: Window Phone 8