Share via


IMediaDataServiceContext.ExecuteBatchAsync Method

Executes the batch operation asynchronously.

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

Syntax

'Declaration
Function ExecuteBatchAsync ( _
    state As Object, _
    ParamArray queries As DataServiceRequest() _
) As Task(Of DataServiceResponse)
'Usage
Dim instance As IMediaDataServiceContext 
Dim state As Object 
Dim queries As DataServiceRequest()
Dim returnValue As Task(Of DataServiceResponse)

returnValue = instance.ExecuteBatchAsync(state, _
    queries)
Task<DataServiceResponse> ExecuteBatchAsync(
    Object state,
    params DataServiceRequest[] queries
)
Task<DataServiceResponse^>^ ExecuteBatchAsync(
    Object^ state, 
    ... array<DataServiceRequest^>^ queries
)
abstract ExecuteBatchAsync : 
        state:Object * 
        queries:DataServiceRequest[] -> Task<DataServiceResponse> 
function ExecuteBatchAsync(
    state : Object, 
    ... queries : DataServiceRequest[]
) : Task<DataServiceResponse>

Parameters

Return Value

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

See Also

Reference

IMediaDataServiceContext Interface

Microsoft.WindowsAzure.MediaServices.Client Namespace