Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If a TableResult has HttpStatusCode.NoContent as a result, what does that mean? #846

Open
briangru opened this issue Apr 22, 2021 · 2 comments

Comments

@briangru
Copy link

Say I have code like this:

            TableOperation insert = TableOperation.InsertOrReplace(disasterAzureTable);
            var tableResult = await _azureTable.ExecuteAsync(insert);
            if (tableResult.HttpStatusCode == (int) HttpStatusCode.NoContent)
                Console.WriteLine("Is this a success, an error, or did we replace instead of insert?");

What does it mean when the HttpStatusCode for the TableResult is NoContent (204)?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@jsquire
Copy link
Member

jsquire commented Apr 22, 2021

Thank you for your feedback. Tagging and routing to the team best able to assist.

@ghost
Copy link

ghost commented Apr 22, 2021

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @wmengmsft, @MehaKaushik, @shurd.

Issue Details

Say I have code like this:

            TableOperation insert = TableOperation.InsertOrReplace(disasterAzureTable);
            var tableResult = await _azureTable.ExecuteAsync(insert);
            if (tableResult.HttpStatusCode == (int) HttpStatusCode.NoContent)
                Console.WriteLine("Is this a success, an error, or did we replace instead of insert?");

What does it mean when the HttpStatusCode for the TableResult is NoContent (204)?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Author: briangru
Assignees: -
Labels:

Client, Cosmos, Docs, Service Attention, customer-reported, needs-team-attention, needs-triage, question

Milestone: -

@MehaKaushik MehaKaushik transferred this issue from Azure/azure-sdk-for-net Apr 22, 2021
@j82w j82w transferred this issue from Azure/azure-cosmos-dotnet-v3 May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants