CloudBlob.StartCopyFromBlobAsync Method (Uri, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext)
Note: This API is now obsolete.
Initiates an asynchronous operation to start copying another blob's contents, properties, and metadata to this blob.
Namespace: Microsoft.WindowsAzure.Storage.Blob
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute]
[ObsoleteAttribute("Deprecated this method in favor of StartCopyAsync.")]
public Task<string> StartCopyFromBlobAsync(
Uri source,
AccessCondition sourceAccessCondition,
AccessCondition destAccessCondition,
BlobRequestOptions options,
OperationContext operationContext
)
<DoesServiceRequestAttribute>
<ObsoleteAttribute("Deprecated this method in favor of StartCopyAsync.")>
Public Function StartCopyFromBlobAsync (
source As Uri,
sourceAccessCondition As AccessCondition,
destAccessCondition As AccessCondition,
options As BlobRequestOptions,
operationContext As OperationContext
) As Task(Of String)
Parameters
source
Type: System.UriThe Uri of the source blob.
sourceAccessCondition
Type: Microsoft.WindowsAzure.Storage.AccessConditionAn AccessCondition object that represents the access conditions for the source blob. If null, no condition is used.
destAccessCondition
Type: Microsoft.WindowsAzure.Storage.AccessConditionAn AccessCondition object that represents the access conditions for the destination blob. If null, no condition is used.
options
Type: Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptionsA BlobRequestOptions object that specifies additional options for the request.
operationContext
Type: Microsoft.WindowsAzure.Storage.OperationContextAn OperationContext object that represents the context for the current operation.
Return Value
Type: System.Threading.Tasks.Task<String>
A Task<TResult> object of type string that represents the asynchronous operation.
See Also
StartCopyFromBlobAsync Overload
CloudBlob Class
Microsoft.WindowsAzure.Storage.Blob Namespace
Return to top