TableClient.CreateIfNotExists(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a table with the name used to construct this client instance if it does not already exist.
public virtual Azure.Response<Azure.Data.Tables.Models.TableItem> CreateIfNotExists (System.Threading.CancellationToken cancellationToken = default);
abstract member CreateIfNotExists : System.Threading.CancellationToken -> Azure.Response<Azure.Data.Tables.Models.TableItem>
override this.CreateIfNotExists : System.Threading.CancellationToken -> Azure.Response<Azure.Data.Tables.Models.TableItem>
Public Overridable Function CreateIfNotExists (Optional cancellationToken As CancellationToken = Nothing) As Response(Of TableItem)
Parameters
- cancellationToken
- CancellationToken
A CancellationToken controlling the request lifetime.
Returns
A Response<T> containing properties of the table. If the table already exists, then Status is 409. The Response can be accessed via the GetRawResponse() method.
Exceptions
The server returned an error. See Message for details returned from the server.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor