Skip to content

Commit d2757f8

Browse files
authored
added docs that stream must be seekable for StageBlock (Azure#48515)
1 parent cf39a1e commit d2757f8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -996,6 +996,7 @@ internal virtual async Task<Response<BlobContentInfo>> UploadInternal(
996996
/// </param>
997997
/// <param name="content">
998998
/// A <see cref="Stream"/> containing the content to upload.
999+
/// The <see cref="Stream"/> must be seekable.
9991000
/// </param>
10001001
/// <param name="transactionalContentHash">
10011002
/// An optional MD5 hash of the block <paramref name="content"/>.
@@ -1068,6 +1069,7 @@ public virtual Response<BlockInfo> StageBlock(
10681069
/// </param>
10691070
/// <param name="content">
10701071
/// A <see cref="Stream"/> containing the content to upload.
1072+
/// The <see cref="Stream"/> must be seekable.
10711073
/// </param>
10721074
/// <param name="transactionalContentHash">
10731075
/// An optional MD5 hash of the block <paramref name="content"/>.
@@ -1140,6 +1142,7 @@ public virtual async Task<Response<BlockInfo>> StageBlockAsync(
11401142
/// </param>
11411143
/// <param name="content">
11421144
/// A <see cref="Stream"/> containing the content to upload.
1145+
/// The <see cref="Stream"/> must be seekable.
11431146
/// </param>
11441147
/// <param name="options">
11451148
/// Optional parameters.
@@ -1191,6 +1194,7 @@ public virtual Response<BlockInfo> StageBlock(
11911194
/// </param>
11921195
/// <param name="content">
11931196
/// A <see cref="Stream"/> containing the content to upload.
1197+
/// The <see cref="Stream"/> must be seekable.
11941198
/// </param>
11951199
/// <param name="options">
11961200
/// Optional parameters.
@@ -1242,6 +1246,7 @@ await StageBlockInternal(
12421246
/// </param>
12431247
/// <param name="content">
12441248
/// A <see cref="Stream"/> containing the content to upload.
1249+
/// The <see cref="Stream"/> must be seekable.
12451250
/// </param>
12461251
/// <param name="conditions">
12471252
/// Access conditions for staging the block.

0 commit comments

Comments
 (0)