CloudBlockBlob.StartCopy CloudBlockBlob.StartCopy Method

Definition

Overloads

StartCopy(CloudBlockBlob, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext) StartCopy(CloudBlockBlob, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext)

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

StartCopy(CloudFile, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext) StartCopy(CloudFile, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext)

Begins an operation to start copying an Azure file's contents, properties, and metadata to this block blob.

StartCopy(CloudBlockBlob, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext) StartCopy(CloudBlockBlob, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext)

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

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual string StartCopy (Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob source, Microsoft.WindowsAzure.Storage.AccessCondition sourceAccessCondition = null, Microsoft.WindowsAzure.Storage.AccessCondition destAccessCondition = null, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options = null, Microsoft.WindowsAzure.Storage.OperationContext operationContext = null);
override this.StartCopy : Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> string
Parameters
sourceAccessCondition
AccessCondition AccessCondition

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

destAccessCondition
AccessCondition AccessCondition

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

options
BlobRequestOptions BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request. If null, default options are applied to the request.

operationContext
OperationContext OperationContext

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

Returns

The copy ID associated with the copy operation.

Remarks

This method fetches the blob's ETag, last-modified time, and part of the copy state.
The copy ID and copy status fields are fetched, and the rest of the copy state is cleared.

StartCopy(CloudFile, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext) StartCopy(CloudFile, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext)

Begins an operation to start copying an Azure file's contents, properties, and metadata to this block blob.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual string StartCopy (Microsoft.WindowsAzure.Storage.File.CloudFile source, Microsoft.WindowsAzure.Storage.AccessCondition sourceAccessCondition = null, Microsoft.WindowsAzure.Storage.AccessCondition destAccessCondition = null, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options = null, Microsoft.WindowsAzure.Storage.OperationContext operationContext = null);
override this.StartCopy : Microsoft.WindowsAzure.Storage.File.CloudFile * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> string
Parameters
source
CloudFile CloudFile

A CloudFile object.

sourceAccessCondition
AccessCondition AccessCondition

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

destAccessCondition
AccessCondition AccessCondition

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

options
BlobRequestOptions BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request. If null, default options are applied to the request.

operationContext
OperationContext OperationContext

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

Returns

The copy ID associated with the copy operation.

Remarks

This method fetches the blob's ETag, last-modified time, and part of the copy state.
The copy ID and copy status fields are fetched, and the rest of the copy state is cleared.

Applies to