Skip to content

Commit cd3ceed

Browse files
[Storage][Files] OpenRead - mention exception thrown for other failures (Azure#25866)
1 parent 3555c0a commit cd3ceed

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

sdk/storage/Azure.Storage.Files.Shares/src/ShareFileClient.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2124,6 +2124,8 @@ private async Task<Response<ShareFileDownloadInfo>> DownloadInternal(
21242124
/// <remarks>
21252125
/// The stream returned might throw <see cref="ShareFileModifiedException"/>
21262126
/// if the file is concurrently modified and <see cref="ShareFileOpenReadOptions"/> don't allow modification.
2127+
///
2128+
/// A <see cref="RequestFailedException" /> will be thrown if other failures occur.
21272129
/// </remarks>
21282130
#pragma warning disable AZC0015 // Unexpected client method return type.
21292131
public virtual Stream OpenRead(
@@ -2157,6 +2159,8 @@ public virtual Stream OpenRead(
21572159
/// <remarks>
21582160
/// The stream returned might throw <see cref="ShareFileModifiedException"/>
21592161
/// if the file is concurrently modified and <see cref="ShareFileOpenReadOptions"/> don't allow modification.
2162+
///
2163+
/// A <see cref="RequestFailedException" /> will be thrown if other failures occur.
21602164
/// </remarks>
21612165
#pragma warning disable AZC0015 // Unexpected client method return type.
21622166
public virtual async Task<Stream> OpenReadAsync(
@@ -2199,6 +2203,8 @@ public virtual async Task<Stream> OpenReadAsync(
21992203
/// <remarks>
22002204
/// The stream returned might throw <see cref="ShareFileModifiedException"/>
22012205
/// if the file is concurrently modified.
2206+
///
2207+
/// A <see cref="RequestFailedException" /> will be thrown if other failures occur.
22022208
/// </remarks>
22032209
[EditorBrowsable(EditorBrowsableState.Never)]
22042210
#pragma warning disable AZC0015 // Unexpected client method return type.
@@ -2243,6 +2249,8 @@ public virtual Stream OpenRead(
22432249
/// <remarks>
22442250
/// The stream returned might throw <see cref="ShareFileModifiedException"/>
22452251
/// if the file is concurrently modified.
2252+
///
2253+
/// A <see cref="RequestFailedException" /> will be thrown if other failures occur.
22462254
/// </remarks>
22472255
[EditorBrowsable(EditorBrowsableState.Never)]
22482256
#pragma warning disable AZC0015 // Unexpected client method return type.
@@ -2285,6 +2293,8 @@ public virtual Stream OpenRead(
22852293
/// <remarks>
22862294
/// The stream returned might throw <see cref="ShareFileModifiedException"/>
22872295
/// if the file is concurrently modified.
2296+
///
2297+
/// A <see cref="RequestFailedException" /> will be thrown if other failures occur.
22882298
/// </remarks>
22892299
[EditorBrowsable(EditorBrowsableState.Never)]
22902300
#pragma warning disable AZC0015 // Unexpected client method return type.
@@ -2329,6 +2339,8 @@ public virtual async Task<Stream> OpenReadAsync(
23292339
/// <remarks>
23302340
/// The stream returned might throw <see cref="ShareFileModifiedException"/>
23312341
/// if the file is concurrently modified.
2342+
///
2343+
/// A <see cref="RequestFailedException" /> will be thrown if other failures occur.
23322344
/// </remarks>
23332345
[EditorBrowsable(EditorBrowsableState.Never)]
23342346
#pragma warning disable AZC0015 // Unexpected client method return type.
@@ -2380,6 +2392,8 @@ public virtual async Task<Stream> OpenReadAsync(
23802392
/// <remarks>
23812393
/// The stream returned might throw <see cref="ShareFileModifiedException"/>
23822394
/// if the file is concurrently modified and allowModifications is false.
2395+
///
2396+
/// A <see cref="RequestFailedException" /> will be thrown if other failures occur.
23832397
/// </remarks>
23842398
#pragma warning disable CS1998 // Async method lacks 'await' operators and will run synchronously
23852399
internal async Task<Stream> OpenReadInteral(

0 commit comments

Comments
 (0)