IMobileServiceTable.InsertAsync Method (JsonObject)

Inserts a new object into a table.

Not supported in Windows Phone 8 apps.

Namespace:  Microsoft.WindowsAzure.MobileServices
Assembly:  Microsoft.WindowsAzure.MobileServices.Managed (in Microsoft.WindowsAzure.MobileServices.Managed.dll)

Syntax

'Declaration
Function InsertAsync ( _
    instance As JsonObject _
) As Task(Of IJsonValue)
'Usage
Dim instance As IMobileServiceTable 
Dim instance As JsonObject 
Dim returnValue As Task(Of IJsonValue)

returnValue = instance.InsertAsync(instance)
Task<IJsonValue> InsertAsync(
    JsonObject instance
)
Task<IJsonValue^>^ InsertAsync(
    JsonObject^ instance
)
abstract InsertAsync : 
        instance:JsonObject -> Task<IJsonValue> 
function InsertAsync(
    instance : JsonObject
) : Task<IJsonValue>

Parameters

  • instance
    Type: JsonObject
    The instance to insert into the table.

Return Value

Type: System.Threading.Tasks.Task<IJsonValue>
A task that will complete when the insert finishes.

See Also

Reference

IMobileServiceTable Interface

InsertAsync Overload

Microsoft.WindowsAzure.MobileServices Namespace