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
- state
Type: System.Object
The state.
- queries
Type: array<System.Data.Services.Client.DataServiceRequest[]
The queries.
Return Value
Type: System.Threading.Tasks.Task<DataServiceResponse>
Returns Task<TResult>.