Azure.Storage.BlobStorageAsync.AddDataToAppendBlockBlob C# (CSharp) 메소드

AddDataToAppendBlockBlob() 공개 메소드

Adds data to the end of an Append blob. Should be used within a single writer as the code is not optimised for concurrent writers
public AddDataToAppendBlockBlob ( string blobId, string data ) : Task
blobId string
data string
리턴 Task
        public async Task<string> AddDataToAppendBlockBlob(string blobId, string data)
        {
            var appendBlob = cloudBlobContainer.GetAppendBlobReference(blobId);
            await appendBlob.AppendTextAsync(data);

            return appendBlob.Uri.ToString();
        }
    }