Udostępnij za pośrednictwem


IMobileServiceTable.InsertAsync Method

Definition

Overloads

InsertAsync(JObject)

Inserts an instance into the table.

InsertAsync(JObject, IDictionary<String,String>)

Inserts an instance into the table.

InsertAsync(JObject)

Inserts an instance into the table.

public System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JToken> InsertAsync (Newtonsoft.Json.Linq.JObject instance);
abstract member InsertAsync : Newtonsoft.Json.Linq.JObject -> System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JToken>
Public Function InsertAsync (instance As JObject) As Task(Of JToken)

Parameters

instance
Newtonsoft.Json.Linq.JObject

The instance to insert into the table.

Returns

Task<Newtonsoft.Json.Linq.JToken>

A task that will complete when the insert finishes.

Applies to

InsertAsync(JObject, IDictionary<String,String>)

Inserts an instance into the table.

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

Parameters

instance
Newtonsoft.Json.Linq.JObject

The instance to insert into the table.

parameters
IDictionary<String,String>

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

Returns

Task<Newtonsoft.Json.Linq.JToken>

A task that will complete when the insert finishes.

Applies to