SALES: 1-800-867-1380

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)

Task<T> InvokeApiAsync<T>(
	string apiName,
	HttpMethod method,
	IDictionary<stringstring> parameters
)

Parameters

apiName
Type: System.String

The name of the custom API.

method
Type: System.Net.Http.HttpMethod

The HTTP method.

parameters
Type: System.Collections.Generic.IDictionary<StringString>

A dictionary of user-defined parameters and values to include in the request URI query string.

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.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft