Skip to content

Commit

Permalink
Fix docs for CreateTableIfNotExists return value (Azure#38535)
Browse files Browse the repository at this point in the history
  • Loading branch information
christothes authored Sep 6, 2023
1 parent f41d1a0 commit de80b0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/tables/Azure.Data.Tables/src/TableServiceClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ public virtual async Task<Response<TableItem>> CreateTableAsync(string tableName
/// </summary>
/// <param name="tableName">The name of the table to create.</param>
/// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param>
/// <returns>If the table does not already exist, a <see cref="Response{TableItem}"/>. If the table already exists, <c>null</c>.</returns>
/// <returns>A <see cref="Response{TableItem}"/> containing properties of the table. If the table already exists, then <see cref="Response.Status"/> is 409. The <see cref="Response"/> can be accessed via the GetRawResponse() method.</returns>
public virtual Response<TableItem> CreateTableIfNotExists(string tableName, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(tableName, nameof(tableName));
Expand Down Expand Up @@ -724,7 +724,7 @@ public virtual Response<TableItem> CreateTableIfNotExists(string tableName, Canc
/// </summary>
/// <param name="tableName">The name of the table to create.</param>
/// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param>
/// <returns>If the table does not already exist, a <see cref="Response{TableItem}"/>. If the table already exists, <c>null</c>.</returns>
/// <returns>A <see cref="Response{TableItem}"/> containing properties of the table. If the table already exists, then <see cref="Response.Status"/> is 409. The <see cref="Response"/> can be accessed via the GetRawResponse() method.</returns>
public virtual async Task<Response<TableItem>> CreateTableIfNotExistsAsync(string tableName, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(tableName, nameof(tableName));
Expand Down

0 comments on commit de80b0a

Please sign in to comment.