AppendBlobClient.AppendBlockFromUri 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.
The AppendBlockFromUri(Uri, AppendBlobAppendBlockFromUriOptions, CancellationToken)
operation commits a new block of data, represented by the sourceUri
,
to the end of the existing append blob. The
AppendBlockFromUri(Uri, AppendBlobAppendBlockFromUriOptions, CancellationToken)
operation is only permitted if the blob was created as an append blob.
For more information, see Append Block From URL.
public virtual Azure.Response<Azure.Storage.Blobs.Models.BlobAppendInfo> AppendBlockFromUri (Uri sourceUri, Azure.Storage.Blobs.Models.AppendBlobAppendBlockFromUriOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member AppendBlockFromUri : Uri * Azure.Storage.Blobs.Models.AppendBlobAppendBlockFromUriOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Blobs.Models.BlobAppendInfo>
override this.AppendBlockFromUri : Uri * Azure.Storage.Blobs.Models.AppendBlobAppendBlockFromUriOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Blobs.Models.BlobAppendInfo>
Public Overridable Function AppendBlockFromUri (sourceUri As Uri, Optional options As AppendBlobAppendBlockFromUriOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of BlobAppendInfo)
Parameters
- sourceUri
- Uri
Specifies the Uri of the source blob. The value may be a Uri of up to 2 KB in length that specifies a blob. The source blob must either be public or must be authenticated via a shared access signature. If the source blob is public, no authentication is required to perform the operation.
Optional parameters. AppendBlobAppendBlockFromUriOptions.
- cancellationToken
- CancellationToken
Optional CancellationToken to propagate notifications that the operation should be cancelled.
Returns
A Response<T> describing the state of the updated append blob.
Remarks
A RequestFailedException will be thrown if a failure occurs.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應