DataServiceAsyncExtensions.SaveChangesAsync Method (DataServiceContext, Object)

Namespace:  Microsoft.WindowsAzure.MediaServices.Client
Assembly:  Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)


<ExtensionAttribute> _
Public Shared Function SaveChangesAsync ( _
    context As DataServiceContext, _
    state As Object _
) As Task(Of DataServiceResponse)
Dim context As DataServiceContext 
Dim state As Object 
Dim returnValue As Task(Of DataServiceResponse)

returnValue = context.SaveChangesAsync(state)
public static Task<DataServiceResponse> SaveChangesAsync(
    this DataServiceContext context,
    Object state
static Task<DataServiceResponse^>^ SaveChangesAsync(
    DataServiceContext^ context, 
    Object^ state
static member SaveChangesAsync : 
        context:DataServiceContext * 
        state:Object -> Task<DataServiceResponse> 
public static function SaveChangesAsync(
    context : DataServiceContext, 
    state : Object
) : Task<DataServiceResponse>


Return Value

Type: System.Threading.Tasks.Task<DataServiceResponse>

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DataServiceContext. When you use instance method syntax to call this method, omit the first parameter. For more information, see or

See Also


DataServiceAsyncExtensions Class

SaveChangesAsync Overload

Microsoft.WindowsAzure.MediaServices.Client Namespace