You are developing a .NET application using the Azure.Storage.Blobs SDK. You need to copy a blob from a source URI to a destination container using the following code:
csharp
// destinationClient is a BlobClient pointing to the target blob path
// sourceUri is the Uri of the source blob
await destinationClient._______(sourceUri);
Which method should you use to fill the blank to initiate the copy operation asynchronously?
- AUploadAsync
- StartCopyFromUriAsyncCevap
- CAcquireLeaseAsync
- DGetPropertiesAsync
Cevap
StartCopyFromUriAsync is the correct method to asynchronously copy a blob from a source URI.
The method StartCopyFromUriAsync is correct because it is the standard method in the Azure.Storage.Blobs SDK (BlobClient class) designed to start copy operations from a source URI asynchronously.
Adım Adım Çözüm
Anahtar Kavram
Asynchronous blob copying using the Azure.Storage.Blobs .NET SDK
Tahmini Süre:45s