IMediaDataServiceContext.SaveChangesAsync Method (SaveChangesOptions, Object)
Saves the changes asynchronously.
Namespace: Microsoft.WindowsAzure.MediaServices.Client
Assembly: Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)
Syntax
'Declaration
Function SaveChangesAsync ( _
options As SaveChangesOptions, _
state As Object _
) As Task(Of IMediaDataServiceResponse)
'Usage
Dim instance As IMediaDataServiceContext
Dim options As SaveChangesOptions
Dim state As Object
Dim returnValue As Task(Of IMediaDataServiceResponse)
returnValue = instance.SaveChangesAsync(options, _
state)
Task<IMediaDataServiceResponse> SaveChangesAsync(
SaveChangesOptions options,
Object state
)
Task<IMediaDataServiceResponse^>^ SaveChangesAsync(
SaveChangesOptions options,
Object^ state
)
abstract SaveChangesAsync :
options:SaveChangesOptions *
state:Object -> Task<IMediaDataServiceResponse>
function SaveChangesAsync(
options : SaveChangesOptions,
state : Object
) : Task<IMediaDataServiceResponse>
Parameters
- options
Type: System.Data.Services.Client.SaveChangesOptions
The options.
- state
Type: System.Object
The state.
Return Value
Type: System.Threading.Tasks.Task<IMediaDataServiceResponse>
Returns Task<TResult>.