We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using stream API in place of ReadItemAsync try/catch
try { ItemResponse<TDocument> response = await _container.ReadItemAsync<TDocument>(id, new PartitionKey(id)); return response.Resource; } catch (CosmosException ex) when (ex.StatusCode == HttpStatusCode.NotFound) { return null; }
The text was updated successfully, but these errors were encountered:
Use ReadItemStream in place of ReadItem #1
edc1e3d
cdorst
No branches or pull requests
Using stream API in place of ReadItemAsync try/catch
The text was updated successfully, but these errors were encountered: