Share via


CloudTable.CreateIfNotExistsAsync Method

Definition

Overloads

CreateIfNotExistsAsync(TableRequestOptions, OperationContext, CancellationToken)

public virtual System.Threading.Tasks.Task<bool> CreateIfNotExistsAsync(Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions, Microsoft.Azure.Cosmos.Table.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member CreateIfNotExistsAsync : Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.CreateIfNotExistsAsync : Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Overridable Function CreateIfNotExistsAsync (requestOptions As TableRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of Boolean)

Parameters

requestOptions
TableRequestOptions
operationContext
OperationContext
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<System.Boolean>

Applies to

CreateIfNotExistsAsync(IndexingMode, Nullable<Int32>, CancellationToken)

public virtual System.Threading.Tasks.Task<bool> CreateIfNotExistsAsync(Microsoft.Azure.Cosmos.IndexingMode indexingMode, int? throughput, System.Threading.CancellationToken cancellationToken);
abstract member CreateIfNotExistsAsync : Microsoft.Azure.Cosmos.IndexingMode * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.CreateIfNotExistsAsync : Microsoft.Azure.Cosmos.IndexingMode * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Overridable Function CreateIfNotExistsAsync (indexingMode As IndexingMode, throughput As Nullable(Of Integer), cancellationToken As CancellationToken) As Task(Of Boolean)

Parameters

indexingMode
Microsoft.Azure.Cosmos.IndexingMode
throughput
System.Nullable<System.Int32>
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<System.Boolean>

Applies to

CreateIfNotExistsAsync(TableRequestOptions, OperationContext, Nullable<IndexingMode>, Nullable<Int32>, CancellationToken)

public virtual System.Threading.Tasks.Task<bool> CreateIfNotExistsAsync(Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions, Microsoft.Azure.Cosmos.Table.OperationContext operationContext, Microsoft.Azure.Cosmos.IndexingMode? indexingMode, int? throughput, System.Threading.CancellationToken cancellationToken);
abstract member CreateIfNotExistsAsync : Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * Nullable<Microsoft.Azure.Cosmos.IndexingMode> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.CreateIfNotExistsAsync : Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * Nullable<Microsoft.Azure.Cosmos.IndexingMode> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Overridable Function CreateIfNotExistsAsync (requestOptions As TableRequestOptions, operationContext As OperationContext, indexingMode As Nullable(Of IndexingMode), throughput As Nullable(Of Integer), cancellationToken As CancellationToken) As Task(Of Boolean)

Parameters

requestOptions
TableRequestOptions
operationContext
OperationContext
indexingMode
System.Nullable<Microsoft.Azure.Cosmos.IndexingMode>
throughput
System.Nullable<System.Int32>
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<System.Boolean>

Applies to

CreateIfNotExistsAsync(CancellationToken)

public virtual System.Threading.Tasks.Task<bool> CreateIfNotExistsAsync(System.Threading.CancellationToken cancellationToken);
abstract member CreateIfNotExistsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.CreateIfNotExistsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Overridable Function CreateIfNotExistsAsync (cancellationToken As CancellationToken) As Task(Of Boolean)

Parameters

cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<System.Boolean>

Applies to

CreateIfNotExistsAsync()

public virtual System.Threading.Tasks.Task<bool> CreateIfNotExistsAsync();
abstract member CreateIfNotExistsAsync : unit -> System.Threading.Tasks.Task<bool>
override this.CreateIfNotExistsAsync : unit -> System.Threading.Tasks.Task<bool>
Public Overridable Function CreateIfNotExistsAsync () As Task(Of Boolean)

Returns

System.Threading.Tasks.Task<System.Boolean>

Applies to

CreateIfNotExistsAsync(TableRequestOptions, OperationContext)

public virtual System.Threading.Tasks.Task<bool> CreateIfNotExistsAsync(Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions, Microsoft.Azure.Cosmos.Table.OperationContext operationContext);
abstract member CreateIfNotExistsAsync : Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> System.Threading.Tasks.Task<bool>
override this.CreateIfNotExistsAsync : Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> System.Threading.Tasks.Task<bool>
Public Overridable Function CreateIfNotExistsAsync (requestOptions As TableRequestOptions, operationContext As OperationContext) As Task(Of Boolean)

Parameters

requestOptions
TableRequestOptions
operationContext
OperationContext

Returns

System.Threading.Tasks.Task<System.Boolean>

Applies to