You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/storage/Azure.Storage.Files.Shares/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@
4
4
- Fixed bug where ShareDirectoryClient.Exists() and ShareFileClient.Exists() would thrown an exception when the directory or file's parent directory didn't exist.
5
5
- Added seekability to ShareFileClient.OpenRead().
6
6
- Renamed ShareClient.SetTier() -> ShareClient.SetProperties(). SetProperties() can be used to set both Share Tier and Share Quota.
7
+
- Changed ShareDeleteOptions.IncludeSnapshots -> .ShareSnapshotsDeleteOption, and added option to also delete Share Snapshots that have been leased.
#pragma warning disable AZC0002// DO ensure all service methods, both asynchronous and synchronous, take an optional CancellationToken parameter called cancellationToken.
972
972
publicvirtualResponse<bool>DeleteIfExists(
973
973
#pragma warning restore AZC0002// DO ensure all service methods, both asynchronous and synchronous, take an optional CancellationToken parameter called cancellationToken.
974
-
boolincludeSnapshots,
975
-
CancellationTokencancellationToken)=>
974
+
boolincludeSnapshots=true,
975
+
CancellationTokencancellationToken=default)=>
976
976
DeleteIfExistsInternal(
977
977
includeSnapshots,
978
978
shareSnapshotsDeleteOption:default,
@@ -1006,8 +1006,8 @@ public virtual Response<bool> DeleteIfExists(
1006
1006
#pragma warning disable AZC0002// DO ensure all service methods, both asynchronous and synchronous, take an optional CancellationToken parameter called cancellationToken.
#pragma warning restore AZC0002// DO ensure all service methods, both asynchronous and synchronous, take an optional CancellationToken parameter called cancellationToken.
Copy file name to clipboardExpand all lines: sdk/storage/Azure.Storage.Files.Shares/tests/SessionRecords/ShareClientTests/CreateIfNotExistsAsync_Exists.json
0 commit comments