CloudBlob.StartCopyAsync CloudBlob.StartCopyAsync CloudBlob.StartCopyAsync CloudBlob.StartCopyAsync Method

Definition

Overloads

StartCopyAsync(Uri) StartCopyAsync(Uri) StartCopyAsync(Uri) StartCopyAsync(Uri)

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

StartCopyAsync(Uri, CancellationToken) StartCopyAsync(Uri, CancellationToken) StartCopyAsync(Uri, CancellationToken)

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

StartCopyAsync(Uri, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext) StartCopyAsync(Uri, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext) StartCopyAsync(Uri, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext)

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

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

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

StartCopyAsync(Uri) StartCopyAsync(Uri) StartCopyAsync(Uri) StartCopyAsync(Uri)

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

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

The Uri of the source blob.

Returns

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

StartCopyAsync(Uri, CancellationToken) StartCopyAsync(Uri, CancellationToken) StartCopyAsync(Uri, CancellationToken)

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

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

The Uri of the source blob.

cancellationToken
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(Uri, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext) StartCopyAsync(Uri, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext) StartCopyAsync(Uri, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext)

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

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

The Uri of the source blob.

sourceAccessCondition
AccessCondition 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 AccessCondition

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

options
BlobRequestOptions BlobRequestOptions BlobRequestOptions BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
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(Uri, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken) StartCopyAsync(Uri, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken) StartCopyAsync(Uri, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

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

public:
 virtual System::Threading::Tasks::Task<System::String ^> ^ StartCopyAsync(Uri ^ 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);
[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> StartCopyAsync (Uri 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);
abstract member StartCopyAsync : Uri * 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>
override this.StartCopyAsync : Uri * 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
source
Uri Uri Uri Uri

The Uri of the source blob.

sourceAccessCondition
AccessCondition 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 AccessCondition

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

options
BlobRequestOptions BlobRequestOptions BlobRequestOptions BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext OperationContext

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

cancellationToken
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