Megosztás a következőn keresztül:


CloudTable.CreateAsync Method

Definition

Overloads

CreateAsync()

Initiates an asynchronous operation to create a table.

CreateAsync(CancellationToken)

Initiates an asynchronous operation to create a table.

CreateAsync(TableRequestOptions, OperationContext)

Initiates an asynchronous operation to create a table.

CreateAsync(TableRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to create a table.

CreateAsync(Nullable<IndexingMode>, Nullable<Int32>, CancellationToken)
CreateAsync(Nullable<Int32>, IndexingMode, Nullable<Int32>, CancellationToken)

Initiates an asynchronous operation to create a table.

CreateAsync(Nullable<Int32>, String, Nullable<Int32>, CancellationToken)

Initiates an asynchronous operation to create a table.

CreateAsync(TableRequestOptions, OperationContext, Nullable<IndexingMode>, Nullable<Int32>, CancellationToken)
CreateAsync(TableRequestOptions, OperationContext, String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Initiates an asynchronous operation to create a table.

CreateAsync()

Initiates an asynchronous operation to create a table.

public virtual System.Threading.Tasks.Task CreateAsync ();
abstract member CreateAsync : unit -> System.Threading.Tasks.Task
override this.CreateAsync : unit -> System.Threading.Tasks.Task
Public Overridable Function CreateAsync () As Task

Returns

A Task object that represents the asynchronous operation.

Applies to

CreateAsync(CancellationToken)

Initiates an asynchronous operation to create a table.

public virtual System.Threading.Tasks.Task CreateAsync (System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.CreateAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function CreateAsync (cancellationToken As CancellationToken) As Task

Parameters

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task object that represents the asynchronous operation.

Applies to

CreateAsync(TableRequestOptions, OperationContext)

Initiates an asynchronous operation to create a table.

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

Parameters

requestOptions
TableRequestOptions

A TableRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

Returns

A Task object that represents the asynchronous operation.

Applies to

CreateAsync(TableRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to create a table.

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

Parameters

requestOptions
TableRequestOptions

A TableRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task object that represents the asynchronous operation.

Applies to

CreateAsync(Nullable<IndexingMode>, Nullable<Int32>, CancellationToken)

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

Parameters

indexingMode
Nullable<IndexingMode>
throughput
Nullable<Int32>
cancellationToken
CancellationToken

Returns

Applies to

CreateAsync(Nullable<Int32>, IndexingMode, Nullable<Int32>, CancellationToken)

Initiates an asynchronous operation to create a table.

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

Parameters

throughput
Nullable<Int32>

CosmosDB table throughput.

indexingMode
IndexingMode

Specify indexing mode for CosmosDB table

defaultTimeToLive
Nullable<Int32>

CosmosDB table time to live in seconds. Null implies TTL is off, -1 equals TTL is on and retain rows indefinitely, any other value sets TTL.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task object that represents the asynchronous operation.

Applies to

CreateAsync(Nullable<Int32>, String, Nullable<Int32>, CancellationToken)

Initiates an asynchronous operation to create a table.

public virtual System.Threading.Tasks.Task CreateAsync (int? throughput, string serializedIndexingPolicy, int? defaultTimeToLive, System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : Nullable<int> * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.CreateAsync : Nullable<int> * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function CreateAsync (throughput As Nullable(Of Integer), serializedIndexingPolicy As String, defaultTimeToLive As Nullable(Of Integer), cancellationToken As CancellationToken) As Task

Parameters

throughput
Nullable<Int32>

CosmosDB table throughput.

serializedIndexingPolicy
String

CosmosDB table indexing policy.

defaultTimeToLive
Nullable<Int32>

CosmosDB table time to live in seconds. Null implies TTL is off, -1 equals TTL is on and retain rows indefinitely, any other value sets TTL.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task object that represents the asynchronous operation.

Applies to

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

public virtual System.Threading.Tasks.Task CreateAsync (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 CreateAsync : Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * Nullable<Microsoft.Azure.Cosmos.IndexingMode> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.CreateAsync : Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * Nullable<Microsoft.Azure.Cosmos.IndexingMode> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function CreateAsync (requestOptions As TableRequestOptions, operationContext As OperationContext, indexingMode As Nullable(Of IndexingMode), throughput As Nullable(Of Integer), cancellationToken As CancellationToken) As Task

Parameters

requestOptions
TableRequestOptions
operationContext
OperationContext
indexingMode
Nullable<IndexingMode>
throughput
Nullable<Int32>
cancellationToken
CancellationToken

Returns

Applies to

CreateAsync(TableRequestOptions, OperationContext, String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Initiates an asynchronous operation to create a table.

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

Parameters

requestOptions
TableRequestOptions

A TableRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

serializedIndexingPolicy
String

CosmosDB table indexing policy..

throughput
Nullable<Int32>

CosmosDB table throughput..

defaultTimeToLive
Nullable<Int32>

CosmosDB table time to live in seconds. Null implies TTL is off, -1 equals TTL is on and retain rows indefinitely, any other value sets TTL.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task object that represents the asynchronous operation.

Applies to