Udostępnij za pośrednictwem


IMobileServiceTable<T>.InsertAsync Method

Definition

Overloads

InsertAsync(T)

Insert a new instance into the table.

InsertAsync(T, IDictionary<String,String>)

Insert a new instance into the table.

InsertAsync(T)

Insert a new instance into the table.

public System.Threading.Tasks.Task InsertAsync (T instance);
abstract member InsertAsync : 'T -> System.Threading.Tasks.Task
Public Function InsertAsync (instance As T) As Task

Parameters

instance
T

The instance to insert.

Returns

A task that will complete when the insertion has finished.

Applies to

InsertAsync(T, IDictionary<String,String>)

Insert a new instance into the table.

public System.Threading.Tasks.Task InsertAsync (T instance, System.Collections.Generic.IDictionary<string,string> parameters);
abstract member InsertAsync : 'T * System.Collections.Generic.IDictionary<string, string> -> System.Threading.Tasks.Task
Public Function InsertAsync (instance As T, parameters As IDictionary(Of String, String)) As Task

Parameters

instance
T

The instance to insert.

parameters
IDictionary<String,String>

A dictionary of user-defined parameters and values to include in the request URI query string.

Returns

A task that will complete when the insertion has finished.

Applies to