Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions Microsoft.Azure.Cosmos/src/Resource/Container/Container.cs
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,13 @@ public abstract Task<ItemResponse<T>> ReadItemAsync<T>(
/// Check the HTTP status code on the response to check if the operation failed.
/// </remarks>
/// <exception>https://aka.ms/cosmosdb-dot-net-exceptions#stream-api</exception>
/// <remarks>
/// <para>
/// Upsert result i.e. creation or replace can be identified by the status code:
/// 201 - item created
/// 200 - item replaced
/// </para>
/// </remarks>
/// <example>
/// Upsert a Stream containing the item to Cosmos
/// <code language="c#">
Expand Down Expand Up @@ -506,6 +513,13 @@ public abstract Task<ResponseMessage> UpsertItemStreamAsync(
/// <param name="cancellationToken">(Optional) <see cref="CancellationToken"/> representing request cancellation.</param>
/// <returns>The <see cref="ItemResponse{T}"/> that was upserted contained within a <see cref="System.Threading.Tasks.Task"/> object representing the service response for the asynchronous operation.</returns>
/// <exception>https://aka.ms/cosmosdb-dot-net-exceptions#typed-api</exception>
/// <remarks>
/// <para>
/// Upsert result i.e. creation or replace can be identified by the status code:
/// 201 - item created
/// 200 - item replaced
/// </para>
/// </remarks>
/// <example>
/// <code language="c#">
/// <![CDATA[
Expand Down