Udostępnij za pośrednictwem


CloudPageBlob.StartCopyAsync Method

Definition

Overloads

StartCopyAsync(CloudPageBlob)

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

StartCopyAsync(CloudPageBlob, CancellationToken)

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

StartCopyAsync(CloudPageBlob, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext)

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

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

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

StartCopyAsync(CloudPageBlob, Nullable<PremiumPageBlobTier>, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

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

StartCopyAsync(CloudPageBlob)

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

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

Parameters

source
CloudPageBlob

The CloudPageBlob that is the source blob.

Returns

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

Attributes

Applies to

StartCopyAsync(CloudPageBlob, CancellationToken)

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

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> StartCopyAsync (Microsoft.Azure.Storage.Blob.CloudPageBlob source, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
override this.StartCopyAsync : Microsoft.Azure.Storage.Blob.CloudPageBlob * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Overridable Function StartCopyAsync (source As CloudPageBlob, cancellationToken As CancellationToken) As Task(Of String)

Parameters

source
CloudPageBlob

The CloudPageBlob that is the source blob.

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.

Attributes

Applies to

StartCopyAsync(CloudPageBlob, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext)

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

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> StartCopyAsync (Microsoft.Azure.Storage.Blob.CloudPageBlob source, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
override this.StartCopyAsync : Microsoft.Azure.Storage.Blob.CloudPageBlob * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<string>
Public Overridable Function StartCopyAsync (source As CloudPageBlob, sourceAccessCondition As AccessCondition, destAccessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext) As Task(Of String)

Parameters

source
CloudPageBlob

The CloudPageBlob that is the source blob.

sourceAccessCondition
AccessCondition

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

destAccessCondition
AccessCondition

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

options
BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

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.

Attributes

Applies to

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

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

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> StartCopyAsync (Microsoft.Azure.Storage.Blob.CloudPageBlob source, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
override this.StartCopyAsync : Microsoft.Azure.Storage.Blob.CloudPageBlob * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Overridable Function StartCopyAsync (source As CloudPageBlob, sourceAccessCondition As AccessCondition, destAccessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of String)

Parameters

source
CloudPageBlob

The CloudPageBlob that is the source blob.

sourceAccessCondition
AccessCondition

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

destAccessCondition
AccessCondition

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

options
BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

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

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.

Attributes

Applies to

StartCopyAsync(CloudPageBlob, Nullable<PremiumPageBlobTier>, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

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

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> StartCopyAsync (Microsoft.Azure.Storage.Blob.CloudPageBlob source, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
override this.StartCopyAsync : Microsoft.Azure.Storage.Blob.CloudPageBlob * Nullable<Microsoft.Azure.Storage.Blob.PremiumPageBlobTier> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Overridable Function StartCopyAsync (source As CloudPageBlob, premiumPageBlobTier As Nullable(Of PremiumPageBlobTier), sourceAccessCondition As AccessCondition, destAccessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of String)

Parameters

source
CloudPageBlob

The CloudPageBlob that is the source blob.

premiumPageBlobTier
Nullable<PremiumPageBlobTier>

A PremiumPageBlobTier representing the tier to set.

sourceAccessCondition
AccessCondition

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

destAccessCondition
AccessCondition

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

options
BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

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

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.

Attributes

Applies to