DataServiceAsyncExtensions.SaveChangesAsync Method (DataServiceContext, Object)

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function SaveChangesAsync ( _
    context As DataServiceContext, _
    state As Object _
) As Task(Of DataServiceResponse)
'Usage
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
)
[ExtensionAttribute]
public:
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>

Parameters

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 https://msdn.microsoft.com/en-us/library/bb384936(v=azure.10) or https://msdn.microsoft.com/en-us/library/bb383977(v=azure.10).

See Also

Reference

DataServiceAsyncExtensions Class

SaveChangesAsync Overload

Microsoft.WindowsAzure.MediaServices.Client Namespace