IMobileServiceClient.InvokeApiAsync<T> Method (String, HttpMethod, IDictionary<String, String>)

 

Invokes a user-defined custom API of a Azure Mobile Service using the specified HTTP Method. Additional data can be passed using the query string.

Namespace:   Microsoft.WindowsAzure.MobileServices
Assembly:  Microsoft.WindowsAzure.Mobile (in Microsoft.WindowsAzure.Mobile.dll)

Syntax

Task<T> InvokeApiAsync<T>(
    string apiName,
    HttpMethod method,
    IDictionary<string, string> parameters
)
generic<typename T>
Task<T>^ InvokeApiAsync(
    String^ apiName,
    HttpMethod^ method,
    IDictionary<String^, String^>^ parameters
)
abstract InvokeApiAsync<'T> : 
        apiName:string *
        method:HttpMethod *
        parameters:IDictionary<string, string> -> Task<'T>
Function InvokeApiAsync(Of T) (
    apiName As String,
    method As HttpMethod,
    parameters As IDictionary(Of String, String)
) As Task(Of T)

Parameters

Return Value

Type: System.Threading.Tasks.Task<T>

The response content from the custom api invocation.

Type Parameters

  • T
    The type of instance sent to the Azure Mobile Service.

See Also

InvokeApiAsync Overload
IMobileServiceClient Interface
Microsoft.WindowsAzure.MobileServices Namespace

Return to top