CloudBlockBlob.StartCopyAsync CloudBlockBlob.StartCopyAsync CloudBlockBlob.StartCopyAsync Method

Definition

Overloads

StartCopyAsync(CloudFile, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken) StartCopyAsync(CloudFile, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to start copying a file's contents, properties, and metadata to this block blob.

StartCopyAsync(CloudBlockBlob, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken) StartCopyAsync(CloudBlockBlob, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to start copying another block blob's contents, properties, and metadata to this block blob.

StartCopyAsync(CloudBlockBlob, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext) StartCopyAsync(CloudBlockBlob, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext)

Initiates an asynchronous operation to start copying another block blob's contents, properties, and metadata to this block blob.

StartCopyAsync(CloudFile, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext) StartCopyAsync(CloudFile, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext)

Initiates an asynchronous operation to start copying a file's contents, properties, and metadata to this block blob.

StartCopyAsync(CloudBlockBlob, CancellationToken) StartCopyAsync(CloudBlockBlob, CancellationToken)

Initiates an asynchronous operation to start copying another block blob's contents, properties, and metadata to this block blob.

StartCopyAsync(CloudFile) StartCopyAsync(CloudFile) StartCopyAsync(CloudFile)

Initiates an asynchronous operation to start copying a file's contents, properties, and metadata to this block blob.

StartCopyAsync(CloudBlockBlob) StartCopyAsync(CloudBlockBlob) StartCopyAsync(CloudBlockBlob)

Initiates an asynchronous operation to start copying another block blob's contents, properties, and metadata to this block blob.

StartCopyAsync(CloudFile, CancellationToken) StartCopyAsync(CloudFile, CancellationToken)

Initiates an asynchronous operation to start copying a file's contents, properties, and metadata to this block blob.

StartCopyAsync(CloudFile, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken) StartCopyAsync(CloudFile, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to start copying a file's contents, properties, and metadata to this block blob.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> StartCopyAsync (Microsoft.WindowsAzure.Storage.File.CloudFile source, Microsoft.WindowsAzure.Storage.AccessCondition sourceAccessCondition, Microsoft.WindowsAzure.Storage.AccessCondition destAccessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
override this.StartCopyAsync : Microsoft.WindowsAzure.Storage.File.CloudFile * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Parameters
sourceAccessCondition
AccessCondition AccessCondition AccessCondition

An AccessCondition object that represents the access conditions for the source file. If null, no condition is used.

destAccessCondition
AccessCondition AccessCondition AccessCondition

An AccessCondition object that represents the access conditions for the destination blob. If null, no condition is used.

options
BlobRequestOptions BlobRequestOptions BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext

An OperationContext object that represents the context for the current operation.

cancellationToken
CancellationToken CancellationToken CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task<TResult> object of type string that represents the asynchronous operation.

StartCopyAsync(CloudBlockBlob, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken) StartCopyAsync(CloudBlockBlob, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to start copying another block blob's contents, properties, and metadata to this block blob.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> StartCopyAsync (Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob source, Microsoft.WindowsAzure.Storage.AccessCondition sourceAccessCondition, Microsoft.WindowsAzure.Storage.AccessCondition destAccessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
override this.StartCopyAsync : Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Parameters
sourceAccessCondition
AccessCondition AccessCondition AccessCondition

An AccessCondition object that represents the access conditions for the source blob. If null, no condition is used.

destAccessCondition
AccessCondition AccessCondition AccessCondition

An AccessCondition object that represents the access conditions for the destination blob. If null, no condition is used.

options
BlobRequestOptions BlobRequestOptions BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext

An OperationContext object that represents the context for the current operation.

cancellationToken
CancellationToken CancellationToken CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task<TResult> object of type string that represents the asynchronous operation.

StartCopyAsync(CloudBlockBlob, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext) StartCopyAsync(CloudBlockBlob, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext)

Initiates an asynchronous operation to start copying another block blob's contents, properties, and metadata to this block blob.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> StartCopyAsync (Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob source, Microsoft.WindowsAzure.Storage.AccessCondition sourceAccessCondition, Microsoft.WindowsAzure.Storage.AccessCondition destAccessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
override this.StartCopyAsync : Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task<string>
Parameters
sourceAccessCondition
AccessCondition AccessCondition AccessCondition

An AccessCondition object that represents the access conditions for the source blob. If null, no condition is used.

destAccessCondition
AccessCondition AccessCondition AccessCondition

An AccessCondition object that represents the access conditions for the destination blob. If null, no condition is used.

options
BlobRequestOptions BlobRequestOptions BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext

An OperationContext object that represents the context for the current operation.

Returns

A Task<TResult> object of type string that represents the asynchronous operation.

StartCopyAsync(CloudFile, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext) StartCopyAsync(CloudFile, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext)

Initiates an asynchronous operation to start copying a file's contents, properties, and metadata to this block blob.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> StartCopyAsync (Microsoft.WindowsAzure.Storage.File.CloudFile source, Microsoft.WindowsAzure.Storage.AccessCondition sourceAccessCondition, Microsoft.WindowsAzure.Storage.AccessCondition destAccessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
override this.StartCopyAsync : Microsoft.WindowsAzure.Storage.File.CloudFile * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task<string>
Parameters
sourceAccessCondition
AccessCondition AccessCondition AccessCondition

An AccessCondition object that represents the access conditions for the source file. If null, no condition is used.

destAccessCondition
AccessCondition AccessCondition AccessCondition

An AccessCondition object that represents the access conditions for the destination blob. If null, no condition is used.

options
BlobRequestOptions BlobRequestOptions BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext

An OperationContext object that represents the context for the current operation.

Returns

A Task<TResult> object of type string that represents the asynchronous operation.

StartCopyAsync(CloudBlockBlob, CancellationToken) StartCopyAsync(CloudBlockBlob, CancellationToken)

Initiates an asynchronous operation to start copying another block blob's contents, properties, and metadata to this block blob.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> StartCopyAsync (Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob source, System.Threading.CancellationToken cancellationToken);
override this.StartCopyAsync : Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Parameters
cancellationToken
CancellationToken CancellationToken CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task<TResult> object of type string that represents the asynchronous operation.

StartCopyAsync(CloudFile) StartCopyAsync(CloudFile) StartCopyAsync(CloudFile)

Initiates an asynchronous operation to start copying a file's contents, properties, and metadata to this block blob.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> StartCopyAsync (Microsoft.WindowsAzure.Storage.File.CloudFile source);
override this.StartCopyAsync : Microsoft.WindowsAzure.Storage.File.CloudFile -> System.Threading.Tasks.Task<string>
Public Overridable Function StartCopyAsync (source As CloudFile) As Task(Of String)
Parameters
Returns

A Task<TResult> object of type string that represents the asynchronous operation.

StartCopyAsync(CloudBlockBlob) StartCopyAsync(CloudBlockBlob) StartCopyAsync(CloudBlockBlob)

Initiates an asynchronous operation to start copying another block blob's contents, properties, and metadata to this block blob.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> StartCopyAsync (Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob source);
override this.StartCopyAsync : Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob -> System.Threading.Tasks.Task<string>
Public Overridable Function StartCopyAsync (source As CloudBlockBlob) As Task(Of String)
Parameters
Returns

A Task<TResult> object of type string that represents the asynchronous operation.

StartCopyAsync(CloudFile, CancellationToken) StartCopyAsync(CloudFile, CancellationToken)

Initiates an asynchronous operation to start copying a file's contents, properties, and metadata to this block blob.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> StartCopyAsync (Microsoft.WindowsAzure.Storage.File.CloudFile source, System.Threading.CancellationToken cancellationToken);
override this.StartCopyAsync : Microsoft.WindowsAzure.Storage.File.CloudFile * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Parameters
cancellationToken
CancellationToken CancellationToken CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task<TResult> object of type string that represents the asynchronous operation.

Applies to