Azure / azure-sdk-for-net

This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.48k stars 4.81k forks source link

Setting parameter overwrite to false results in the undocumented exception: System.ArgumentException: BlockBlobClient.OpenWrite only supports overwriting #42034

Open jimt4593 opened 9 months ago

jimt4593 commented 9 months ago

Type of issue

Missing information

Description

I assume this is really a bug in the BlockBlockClient OpenWriteAsync function. The overwrite parameter is a boolean. So it should accept true or false.

Using Azure.Storage.Blobs nuget package v12.19.1.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/azure.storage.blobs.blobclient.openwriteasync?view=azure-dotnet

Content source URL

https://github.com/Azure/azure-docs-sdk-dotnet/blob/master/xml/Azure.Storage.Blobs/BlobClient.xml

Document Version Independent Id

44dca6af-43a8-616c-1e76-7b6dcb1d7da4

Article author

@azure-sdk

Metadata

github-actions[bot] commented 9 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @xgithubtriage.

agehrke commented 4 months ago

Seems identical to #24831 - an issue from 2021. Maybe xmldoc of the OpenWrite methods should be improved to highlight that passing false is not supported.