IMediaDataServiceContext.ExecuteAsync Method (Uri, Object, String)
Executes the operation asynchronously.
Namespace: Microsoft.WindowsAzure.MediaServices.Client
Assembly: Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)
Syntax
'Declaration
Function ExecuteAsync ( _
requestUri As Uri, _
state As Object, _
httpMethod As String _
) As Task(Of OperationResponse)
'Usage
Dim instance As IMediaDataServiceContext
Dim requestUri As Uri
Dim state As Object
Dim httpMethod As String
Dim returnValue As Task(Of OperationResponse)
returnValue = instance.ExecuteAsync(requestUri, _
state, httpMethod)
Task<OperationResponse> ExecuteAsync(
Uri requestUri,
Object state,
string httpMethod
)
Task<OperationResponse^>^ ExecuteAsync(
Uri^ requestUri,
Object^ state,
String^ httpMethod
)
abstract ExecuteAsync :
requestUri:Uri *
state:Object *
httpMethod:string -> Task<OperationResponse>
function ExecuteAsync(
requestUri : Uri,
state : Object,
httpMethod : String
) : Task<OperationResponse>
Parameters
- requestUri
Type: System.Uri
The request Uri.
- state
Type: System.Object
The state.
- httpMethod
Type: System.String
The HTTP method.
Return Value
Type: System.Threading.Tasks.Task<OperationResponse>
Returns Task<TResult>.