Skip to content

Commit 45c7bfb

Browse files
[Storage] Update documentation for overwrite parameter of OpenWrite (Azure#48276)
1 parent 2fb24b9 commit 45c7bfb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

sdk/storage/Azure.Storage.Blobs/src/BlobClient.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1711,10 +1711,12 @@ internal async Task<Response<BlobContentInfo>> StagedUploadInternal(
17111711

17121712
#region OpenWrite
17131713
/// <summary>
1714-
/// Opens a stream for writing to the blob.
1714+
/// Opens a stream for writing to the blob. If the blob exists,
1715+
/// it will be overwritten.
17151716
/// </summary>
17161717
/// <param name="overwrite">
17171718
/// Whether an existing blob should be deleted and recreated.
1719+
/// The only valid value for this operation is true.
17181720
/// </param>
17191721
/// <param name="options">
17201722
/// Optional parameters.
@@ -1744,11 +1746,12 @@ public virtual Stream OpenWrite(
17441746
cancellationToken).EnsureCompleted();
17451747

17461748
/// <summary>
1747-
/// Opens a stream for writing to the blob. If the blob exists,
1749+
/// Opens a stream for writing to the blob. If the blob exists,
17481750
/// it will be overwritten.
17491751
/// </summary>
17501752
/// <param name="overwrite">
17511753
/// Whether an existing blob should be deleted and recreated.
1754+
/// The only valid value for this operation is true.
17521755
/// </param>
17531756
/// <param name="options">
17541757
/// Optional parameters.

0 commit comments

Comments
 (0)