MobileServiceClient.InvokeApiAsync<T> Method (String)

 

Invokes a user-defined custom API of a Azure Mobile Service using an HTTP POST.

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

Syntax

public Task<T> InvokeApiAsync<T>(
    string apiName
)
public:
generic<typename T>
virtual Task<T>^ InvokeApiAsync(
    String^ apiName
) sealed
abstract InvokeApiAsync<'T> : 
        apiName:string -> Task<'T>
override InvokeApiAsync<'T> : 
        apiName:string -> Task<'T>
Public Function InvokeApiAsync(Of T) (
    apiName As 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 returned from the Azure Mobile Service.

See Also

InvokeApiAsync Overload
MobileServiceClient Class
Microsoft.WindowsAzure.MobileServices Namespace

Return to top