CloudBlockBlob.StartCopyFromBlobAsync Method (Uri)

Windows Runtime Azure Storage Client Library

Requests that the service start to copy an existing blob's contents, properties, and metadata to a new blob.

Namespace: Microsoft.WindowsAzure.Storage.Blob
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Usage

Visual Basic
Dim instance As CloudBlockBlob
Dim source As Uri
Dim returnValue As IAsyncOperation(Of String)

returnValue = instance.StartCopyFromBlobAsync(source)

Syntax

Visual Basic
<DefaultOverloadAttribute> _
Public Function StartCopyFromBlobAsync ( _
	source As Uri _
) As IAsyncOperation(Of String)
C#
[DefaultOverloadAttribute] 
public IAsyncOperation<string> StartCopyFromBlobAsync (
	Uri source
)
C++
[DefaultOverloadAttribute] 
public:
IAsyncOperation<String^>^ StartCopyFromBlobAsync (
	Uri^ source
)
J#
/** @attribute DefaultOverloadAttribute() */ 
public IAsyncOperation<String> StartCopyFromBlobAsync (
	Uri source
)
JScript
DefaultOverloadAttribute 
public function StartCopyFromBlobAsync (
	source : Uri
) : IAsyncOperation<String>

Parameters

source

The URI of a source blob.

Return Value

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.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also