IMediaDataServiceContext.ExecuteAsync<T> Method (DataServiceQueryContinuation<T>, Object)
Executes the operation asynchronously.
Namespace: Microsoft.WindowsAzure.MediaServices.Client
Assembly: Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)
Syntax
'Declaration
Function ExecuteAsync(Of T) ( _
continuation As DataServiceQueryContinuation(Of T), _
state As Object _
) As Task(Of IEnumerable(Of T))
'Usage
Dim instance As IMediaDataServiceContext
Dim continuation As DataServiceQueryContinuation(Of T)
Dim state As Object
Dim returnValue As Task(Of IEnumerable(Of T))
returnValue = instance.ExecuteAsync(continuation, _
state)
Task<IEnumerable<T>> ExecuteAsync<T>(
DataServiceQueryContinuation<T> continuation,
Object state
)
generic<typename T>
Task<IEnumerable<T>^>^ ExecuteAsync(
DataServiceQueryContinuation<T>^ continuation,
Object^ state
)
abstract ExecuteAsync :
continuation:DataServiceQueryContinuation<'T> *
state:Object -> Task<IEnumerable<'T>>
JScript does not support generic types and methods.
Type Parameters
- T
The type of the element.
Parameters
- continuation
Type: System.Data.Services.Client.DataServiceQueryContinuation<T>
The continuation.
- state
Type: System.Object
The state.
Return Value
Type: System.Threading.Tasks.Task<IEnumerable<T>>
Returns Task<TResult>.