CloudBlockBlob.StartCopyAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
StartCopyAsync(CloudBlockBlob, Nullable<StandardBlobTier>, Nullable<RehydratePriority>, 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, Checksum, Boolean, Boolean, Nullable<StandardBlobTier>, Nullable<RehydratePriority>, 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, CancellationToken) |
Initiates an asynchronous operation to start copying another block blob's contents, properties, and metadata to this block blob. |
StartCopyAsync(CloudBlockBlob) |
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) |
Initiates an asynchronous operation to start copying another block blob's contents, properties, and metadata to this block blob. |
StartCopyAsync(CloudBlockBlob, Nullable<StandardBlobTier>, Nullable<RehydratePriority>, 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.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> StartCopyAsync (Microsoft.Azure.Storage.Blob.CloudBlockBlob source, Microsoft.Azure.Storage.Blob.StandardBlobTier? standardBlockBlobTier, Microsoft.Azure.Storage.Blob.RehydratePriority? rehydratePriority, 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.CloudBlockBlob * Nullable<Microsoft.Azure.Storage.Blob.StandardBlobTier> * Nullable<Microsoft.Azure.Storage.Blob.RehydratePriority> * 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 CloudBlockBlob, standardBlockBlobTier As Nullable(Of StandardBlobTier), rehydratePriority As Nullable(Of RehydratePriority), sourceAccessCondition As AccessCondition, destAccessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of String)
Parameters
- source
- CloudBlockBlob
A CloudBlockBlob object.
- standardBlockBlobTier
- Nullable<StandardBlobTier>
A StandardBlobTier representing the tier to set.
- rehydratePriority
- Nullable<RehydratePriority>
The priority with which to rehydrate an archived 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(CloudBlockBlob, Checksum, Boolean, Boolean, Nullable<StandardBlobTier>, Nullable<RehydratePriority>, 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.Azure.Storage.DoesServiceRequest]
public System.Threading.Tasks.Task<string> StartCopyAsync (Microsoft.Azure.Storage.Blob.CloudBlockBlob source, Microsoft.Azure.Storage.Shared.Protocol.Checksum contentChecksum, bool incrementalCopy, bool syncCopy, Microsoft.Azure.Storage.Blob.StandardBlobTier? standardBlockBlobTier, Microsoft.Azure.Storage.Blob.RehydratePriority? rehydratePriority, 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.CloudBlockBlob * Microsoft.Azure.Storage.Shared.Protocol.Checksum * bool * bool * Nullable<Microsoft.Azure.Storage.Blob.StandardBlobTier> * Nullable<Microsoft.Azure.Storage.Blob.RehydratePriority> * 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 Function StartCopyAsync (source As CloudBlockBlob, contentChecksum As Checksum, incrementalCopy As Boolean, syncCopy As Boolean, standardBlockBlobTier As Nullable(Of StandardBlobTier), rehydratePriority As Nullable(Of RehydratePriority), sourceAccessCondition As AccessCondition, destAccessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of String)
Parameters
- source
- CloudBlockBlob
A CloudBlockBlob object.
- contentChecksum
- Checksum
A hash value used to ensure transactional integrity. May be null
or Checksum.None
- incrementalCopy
- Boolean
A boolean indicating whether or not this is an incremental copy.
- syncCopy
- Boolean
A boolean to enable synchronous server copy of blobs.
- standardBlockBlobTier
- Nullable<StandardBlobTier>
A StandardBlobTier representing the tier to set. Only valid on block blobs.
- rehydratePriority
- Nullable<RehydratePriority>
The priority with which to rehydrate an archived 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(CloudBlockBlob, CancellationToken)
Initiates an asynchronous operation to start copying another block blob's contents, properties, and metadata to this block blob.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> StartCopyAsync (Microsoft.Azure.Storage.Blob.CloudBlockBlob source, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
override this.StartCopyAsync : Microsoft.Azure.Storage.Blob.CloudBlockBlob * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Overridable Function StartCopyAsync (source As CloudBlockBlob, cancellationToken As CancellationToken) As Task(Of String)
Parameters
- source
- CloudBlockBlob
A CloudBlockBlob object.
- 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(CloudBlockBlob)
Initiates an asynchronous operation to start copying another block blob's contents, properties, and metadata to this block blob.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> StartCopyAsync (Microsoft.Azure.Storage.Blob.CloudBlockBlob source);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
override this.StartCopyAsync : Microsoft.Azure.Storage.Blob.CloudBlockBlob -> System.Threading.Tasks.Task<string>
Public Overridable Function StartCopyAsync (source As CloudBlockBlob) As Task(Of String)
Parameters
- source
- CloudBlockBlob
A CloudBlockBlob object.
Returns
A Task<TResult> object of type string
that represents the asynchronous operation.
- Attributes
Applies to
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.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> StartCopyAsync (Microsoft.Azure.Storage.Blob.CloudBlockBlob 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.CloudBlockBlob * 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 CloudBlockBlob, sourceAccessCondition As AccessCondition, destAccessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext) As Task(Of String)
Parameters
- source
- CloudBlockBlob
A CloudBlockBlob object.
- 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