次の方法で共有


IMobileServiceClient.InvokeApiAsync メソッド

定義

オーバーロード

InvokeApiAsync(String, HttpContent, HttpMethod, IDictionary<String,String>, IDictionary<String,String>, CancellationToken)

指定した HttpMethod を使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。 追加のデータは、HTTP コンテンツまたはクエリ文字列を使用して送信できます。

InvokeApiAsync(String, JToken, HttpMethod, IDictionary<String,String>, CancellationToken)

指定した HTTP メソッドを使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。 追加のデータは、HTTP コンテンツまたはクエリ文字列を使用して送信できます。

InvokeApiAsync(String, HttpMethod, IDictionary<String,String>, CancellationToken)

指定した HTTP メソッドを使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。 追加のデータは、クエリ文字列を使用して送信します。

InvokeApiAsync(String, JToken, HttpMethod, IDictionary<String,String>)

指定した HTTP メソッドを使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。 追加のデータは、HTTP コンテンツまたはクエリ文字列を使用して送信できます。

InvokeApiAsync(String, HttpContent, HttpMethod, IDictionary<String,String>, IDictionary<String,String>)

指定した HttpMethod を使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。 追加のデータは、HTTP コンテンツまたはクエリ文字列を使用して送信できます。

InvokeApiAsync(String, JToken, CancellationToken)

HTTP コンテンツの送信をサポートする HTTP POST を使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。

InvokeApiAsync(String, CancellationToken)

HTTP POST を使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。

InvokeApiAsync(String, JToken)

HTTP コンテンツの送信をサポートする HTTP POST を使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。

InvokeApiAsync(String)

HTTP POST を使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。

InvokeApiAsync(String, HttpMethod, IDictionary<String,String>)

指定した HTTP メソッドを使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。 追加のデータは、クエリ文字列を使用して送信します。

InvokeApiAsync<T,U>(String, T, HttpMethod, IDictionary<String,String>, CancellationToken)

指定した HTTP メソッドを使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。 追加のデータは、HTTP コンテンツまたはクエリ文字列を使用して送信できます。

InvokeApiAsync<T,U>(String, T, HttpMethod, IDictionary<String,String>)

指定した HTTP メソッドを使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。 追加のデータは、HTTP コンテンツまたはクエリ文字列を使用して送信できます。

InvokeApiAsync<T,U>(String, T)

HTTP コンテンツの送信をサポートする HTTP POST を使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。

InvokeApiAsync<T,U>(String, T, CancellationToken)

HTTP コンテンツの送信をサポートする HTTP POST を使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。

InvokeApiAsync<T>(String, HttpMethod, IDictionary<String,String>)

指定した HTTP メソッドを使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。 追加のデータは、クエリ文字列を使用して渡すことができます。

InvokeApiAsync<T>(String, CancellationToken)

HTTP POST を使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。

InvokeApiAsync<T>(String)

HTTP POST を使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。

InvokeApiAsync<T>(String, HttpMethod, IDictionary<String,String>, CancellationToken)

指定した HTTP メソッドを使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。 追加のデータは、クエリ文字列を使用して渡すことができます。

InvokeApiAsync(String, HttpContent, HttpMethod, IDictionary<String,String>, IDictionary<String,String>, CancellationToken)

指定した HttpMethod を使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。 追加のデータは、HTTP コンテンツまたはクエリ文字列を使用して送信できます。

public System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> InvokeApiAsync (string apiName, System.Net.Http.HttpContent content, System.Net.Http.HttpMethod method, System.Collections.Generic.IDictionary<string,string> requestHeaders, System.Collections.Generic.IDictionary<string,string> parameters, System.Threading.CancellationToken cancellationToken = default);
abstract member InvokeApiAsync : string * System.Net.Http.HttpContent * System.Net.Http.HttpMethod * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
Public Function InvokeApiAsync (apiName As String, content As HttpContent, method As HttpMethod, requestHeaders As IDictionary(Of String, String), parameters As IDictionary(Of String, String), Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpResponseMessage)

パラメーター

apiName
String

カスタム API の名前。

content
HttpContent

HTTP コンテンツ。

method
HttpMethod

HTTP メソッド。

requestHeaders
IDictionary<String,String>

HttpRequest に含めるユーザー定義ヘッダーの辞書。

parameters
IDictionary<String,String>

要求 URI クエリ文字列に含めるユーザー定義パラメーターと値の辞書。

cancellationToken
CancellationToken

CancellationToken観察するトークン

戻り値

カスタム API の呼び出しからの HTTP 応答。

適用対象

InvokeApiAsync(String, JToken, HttpMethod, IDictionary<String,String>, CancellationToken)

指定した HTTP メソッドを使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。 追加のデータは、HTTP コンテンツまたはクエリ文字列を使用して送信できます。

public System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JToken> InvokeApiAsync (string apiName, Newtonsoft.Json.Linq.JToken body, System.Net.Http.HttpMethod method, System.Collections.Generic.IDictionary<string,string> parameters, System.Threading.CancellationToken cancellationToken = default);
abstract member InvokeApiAsync : string * Newtonsoft.Json.Linq.JToken * System.Net.Http.HttpMethod * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JToken>
Public Function InvokeApiAsync (apiName As String, body As JToken, method As HttpMethod, parameters As IDictionary(Of String, String), Optional cancellationToken As CancellationToken = Nothing) As Task(Of JToken)

パラメーター

apiName
String

カスタム API の名前。

body
Newtonsoft.Json.Linq.JToken

HTTP 本文として送信する値。

method
HttpMethod

HTTP メソッド。

parameters
IDictionary<String,String>

要求 URI クエリ文字列に含めるユーザー定義パラメーターと値の辞書。

cancellationToken
CancellationToken

CancellationToken観察するトークン

戻り値

Task<Newtonsoft.Json.Linq.JToken>

カスタム API の呼び出しからの応答コンテンツ。

適用対象

InvokeApiAsync(String, HttpMethod, IDictionary<String,String>, CancellationToken)

指定した HTTP メソッドを使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。 追加のデータは、クエリ文字列を使用して送信します。

public System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JToken> InvokeApiAsync (string apiName, System.Net.Http.HttpMethod method, System.Collections.Generic.IDictionary<string,string> parameters, System.Threading.CancellationToken cancellationToken = default);
abstract member InvokeApiAsync : string * System.Net.Http.HttpMethod * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JToken>
Public Function InvokeApiAsync (apiName As String, method As HttpMethod, parameters As IDictionary(Of String, String), Optional cancellationToken As CancellationToken = Nothing) As Task(Of JToken)

パラメーター

apiName
String

カスタム API の名前。

method
HttpMethod

HTTP メソッド。

parameters
IDictionary<String,String>

要求 URI クエリ文字列に含めるユーザー定義パラメーターと値の辞書。

cancellationToken
CancellationToken

CancellationToken観察するトークン

戻り値

Task<Newtonsoft.Json.Linq.JToken>

カスタム API の呼び出しからの応答コンテンツ。

適用対象

InvokeApiAsync(String, JToken, HttpMethod, IDictionary<String,String>)

指定した HTTP メソッドを使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。 追加のデータは、HTTP コンテンツまたはクエリ文字列を使用して送信できます。

public System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JToken> InvokeApiAsync (string apiName, Newtonsoft.Json.Linq.JToken body, System.Net.Http.HttpMethod method, System.Collections.Generic.IDictionary<string,string> parameters);
abstract member InvokeApiAsync : string * Newtonsoft.Json.Linq.JToken * System.Net.Http.HttpMethod * System.Collections.Generic.IDictionary<string, string> -> System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JToken>
Public Function InvokeApiAsync (apiName As String, body As JToken, method As HttpMethod, parameters As IDictionary(Of String, String)) As Task(Of JToken)

パラメーター

apiName
String

カスタム API の名前。

body
Newtonsoft.Json.Linq.JToken

HTTP 本文として送信する値。

method
HttpMethod

HTTP メソッド。

parameters
IDictionary<String,String>

要求 URI クエリ文字列に含めるユーザー定義パラメーターと値の辞書。

戻り値

Task<Newtonsoft.Json.Linq.JToken>

カスタム API の呼び出しからの応答コンテンツ。

適用対象

InvokeApiAsync(String, HttpContent, HttpMethod, IDictionary<String,String>, IDictionary<String,String>)

指定した HttpMethod を使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。 追加のデータは、HTTP コンテンツまたはクエリ文字列を使用して送信できます。

public System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> InvokeApiAsync (string apiName, System.Net.Http.HttpContent content, System.Net.Http.HttpMethod method, System.Collections.Generic.IDictionary<string,string> requestHeaders, System.Collections.Generic.IDictionary<string,string> parameters);
abstract member InvokeApiAsync : string * System.Net.Http.HttpContent * System.Net.Http.HttpMethod * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
Public Function InvokeApiAsync (apiName As String, content As HttpContent, method As HttpMethod, requestHeaders As IDictionary(Of String, String), parameters As IDictionary(Of String, String)) As Task(Of HttpResponseMessage)

パラメーター

apiName
String

カスタム API の名前。

content
HttpContent

HTTP コンテンツ。

method
HttpMethod

HTTP メソッド。

requestHeaders
IDictionary<String,String>

HttpRequest に含めるユーザー定義ヘッダーの辞書。

parameters
IDictionary<String,String>

要求 URI クエリ文字列に含めるユーザー定義パラメーターと値の辞書。

戻り値

カスタム API の呼び出しからの HTTP 応答。

適用対象

InvokeApiAsync(String, JToken, CancellationToken)

HTTP コンテンツの送信をサポートする HTTP POST を使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。

public System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JToken> InvokeApiAsync (string apiName, Newtonsoft.Json.Linq.JToken body, System.Threading.CancellationToken cancellationToken = default);
abstract member InvokeApiAsync : string * Newtonsoft.Json.Linq.JToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JToken>
Public Function InvokeApiAsync (apiName As String, body As JToken, Optional cancellationToken As CancellationToken = Nothing) As Task(Of JToken)

パラメーター

apiName
String

カスタム API の名前。

body
Newtonsoft.Json.Linq.JToken

HTTP 本文として送信する値。

cancellationToken
CancellationToken

CancellationToken観察するトークン

戻り値

Task<Newtonsoft.Json.Linq.JToken>

適用対象

InvokeApiAsync(String, CancellationToken)

HTTP POST を使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。

public System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JToken> InvokeApiAsync (string apiName, System.Threading.CancellationToken cancellationToken = default);
abstract member InvokeApiAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JToken>
Public Function InvokeApiAsync (apiName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of JToken)

パラメーター

apiName
String

カスタム API の名前。

cancellationToken
CancellationToken

CancellationToken観察するトークン

戻り値

Task<Newtonsoft.Json.Linq.JToken>

適用対象

InvokeApiAsync(String, JToken)

HTTP コンテンツの送信をサポートする HTTP POST を使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。

public System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JToken> InvokeApiAsync (string apiName, Newtonsoft.Json.Linq.JToken body);
abstract member InvokeApiAsync : string * Newtonsoft.Json.Linq.JToken -> System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JToken>
Public Function InvokeApiAsync (apiName As String, body As JToken) As Task(Of JToken)

パラメーター

apiName
String

カスタム API の名前。

body
Newtonsoft.Json.Linq.JToken

HTTP 本文として送信する値。

戻り値

Task<Newtonsoft.Json.Linq.JToken>

適用対象

InvokeApiAsync(String)

HTTP POST を使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。

public System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JToken> InvokeApiAsync (string apiName);
abstract member InvokeApiAsync : string -> System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JToken>
Public Function InvokeApiAsync (apiName As String) As Task(Of JToken)

パラメーター

apiName
String

カスタム API の名前。

戻り値

Task<Newtonsoft.Json.Linq.JToken>

適用対象

InvokeApiAsync(String, HttpMethod, IDictionary<String,String>)

指定した HTTP メソッドを使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。 追加のデータは、クエリ文字列を使用して送信します。

public System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JToken> InvokeApiAsync (string apiName, System.Net.Http.HttpMethod method, System.Collections.Generic.IDictionary<string,string> parameters);
abstract member InvokeApiAsync : string * System.Net.Http.HttpMethod * System.Collections.Generic.IDictionary<string, string> -> System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JToken>
Public Function InvokeApiAsync (apiName As String, method As HttpMethod, parameters As IDictionary(Of String, String)) As Task(Of JToken)

パラメーター

apiName
String

カスタム API の名前。

method
HttpMethod

HTTP メソッド。

parameters
IDictionary<String,String>

要求 URI クエリ文字列に含めるユーザー定義パラメーターと値の辞書。

戻り値

Task<Newtonsoft.Json.Linq.JToken>

カスタム API の呼び出しからの応答コンテンツ。

適用対象

InvokeApiAsync<T,U>(String, T, HttpMethod, IDictionary<String,String>, CancellationToken)

指定した HTTP メソッドを使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。 追加のデータは、HTTP コンテンツまたはクエリ文字列を使用して送信できます。

public System.Threading.Tasks.Task<U> InvokeApiAsync<T,U> (string apiName, T body, System.Net.Http.HttpMethod method, System.Collections.Generic.IDictionary<string,string> parameters, System.Threading.CancellationToken cancellationToken = default);
abstract member InvokeApiAsync : string * 'T * System.Net.Http.HttpMethod * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'U>
Public Function InvokeApiAsync(Of T, U) (apiName As String, body As T, method As HttpMethod, parameters As IDictionary(Of String, String), Optional cancellationToken As CancellationToken = Nothing) As Task(Of U)

型パラメーター

T

Microsoft Azure Mobile Service に送信されるインスタンスの種類。

U

Microsoft Azure Mobile Service から返されるインスタンスの種類。

パラメーター

apiName
String

カスタム API の名前。

body
T

HTTP 本文として送信する値。

method
HttpMethod

HTTP メソッド。

parameters
IDictionary<String,String>

要求 URI クエリ文字列に含めるユーザー定義パラメーターと値の辞書。

cancellationToken
CancellationToken

CancellationToken観察するトークン

戻り値

Task<U>

カスタム API の呼び出しからの応答コンテンツ。

適用対象

InvokeApiAsync<T,U>(String, T, HttpMethod, IDictionary<String,String>)

指定した HTTP メソッドを使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。 追加のデータは、HTTP コンテンツまたはクエリ文字列を使用して送信できます。

public System.Threading.Tasks.Task<U> InvokeApiAsync<T,U> (string apiName, T body, System.Net.Http.HttpMethod method, System.Collections.Generic.IDictionary<string,string> parameters);
abstract member InvokeApiAsync : string * 'T * System.Net.Http.HttpMethod * System.Collections.Generic.IDictionary<string, string> -> System.Threading.Tasks.Task<'U>
Public Function InvokeApiAsync(Of T, U) (apiName As String, body As T, method As HttpMethod, parameters As IDictionary(Of String, String)) As Task(Of U)

型パラメーター

T

Microsoft Azure Mobile Service に送信されるインスタンスの種類。

U

Microsoft Azure Mobile Service から返されるインスタンスの種類。

パラメーター

apiName
String

カスタム API の名前。

body
T

HTTP 本文として送信する値。

method
HttpMethod

HTTP メソッド。

parameters
IDictionary<String,String>

要求 URI クエリ文字列に含めるユーザー定義パラメーターと値の辞書。

戻り値

Task<U>

カスタム API の呼び出しからの応答コンテンツ。

適用対象

InvokeApiAsync<T,U>(String, T)

HTTP コンテンツの送信をサポートする HTTP POST を使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。

public System.Threading.Tasks.Task<U> InvokeApiAsync<T,U> (string apiName, T body);
abstract member InvokeApiAsync : string * 'T -> System.Threading.Tasks.Task<'U>
Public Function InvokeApiAsync(Of T, U) (apiName As String, body As T) As Task(Of U)

型パラメーター

T

Microsoft Azure Mobile Service に送信されるインスタンスの種類。

U

Microsoft Azure Mobile Service から返されるインスタンスの種類。

パラメーター

apiName
String

カスタム API の名前。

body
T

HTTP 本文として送信する値。

戻り値

Task<U>

カスタム API の呼び出しからの応答コンテンツ。

適用対象

InvokeApiAsync<T,U>(String, T, CancellationToken)

HTTP コンテンツの送信をサポートする HTTP POST を使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。

public System.Threading.Tasks.Task<U> InvokeApiAsync<T,U> (string apiName, T body, System.Threading.CancellationToken cancellationToken = default);
abstract member InvokeApiAsync : string * 'T * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'U>
Public Function InvokeApiAsync(Of T, U) (apiName As String, body As T, Optional cancellationToken As CancellationToken = Nothing) As Task(Of U)

型パラメーター

T

Microsoft Azure Mobile Service に送信されるインスタンスの種類。

U

Microsoft Azure Mobile Service から返されるインスタンスの種類。

パラメーター

apiName
String

カスタム API の名前。

body
T

HTTP 本文として送信する値。

cancellationToken
CancellationToken

CancellationToken観察するトークン

戻り値

Task<U>

カスタム API の呼び出しからの応答コンテンツ。

適用対象

InvokeApiAsync<T>(String, HttpMethod, IDictionary<String,String>)

指定した HTTP メソッドを使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。 追加のデータは、クエリ文字列を使用して渡すことができます。

public System.Threading.Tasks.Task<T> InvokeApiAsync<T> (string apiName, System.Net.Http.HttpMethod method, System.Collections.Generic.IDictionary<string,string> parameters);
abstract member InvokeApiAsync : string * System.Net.Http.HttpMethod * System.Collections.Generic.IDictionary<string, string> -> System.Threading.Tasks.Task<'T>
Public Function InvokeApiAsync(Of T) (apiName As String, method As HttpMethod, parameters As IDictionary(Of String, String)) As Task(Of T)

型パラメーター

T

Microsoft Azure Mobile Service に送信されるインスタンスの種類。

パラメーター

apiName
String

カスタム API の名前。

method
HttpMethod

HTTP メソッド。

parameters
IDictionary<String,String>

要求 URI クエリ文字列に含めるユーザー定義パラメーターと値の辞書。

戻り値

Task<T>

カスタム API の呼び出しからの応答コンテンツ。

適用対象

InvokeApiAsync<T>(String, CancellationToken)

HTTP POST を使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。

public System.Threading.Tasks.Task<T> InvokeApiAsync<T> (string apiName, System.Threading.CancellationToken cancellationToken = default);
abstract member InvokeApiAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'T>
Public Function InvokeApiAsync(Of T) (apiName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of T)

型パラメーター

T

Microsoft Azure Mobile Service から返されるインスタンスの種類。

パラメーター

apiName
String

カスタム API の名前。

cancellationToken
CancellationToken

CancellationToken観察するトークン

戻り値

Task<T>

カスタム API の呼び出しからの応答コンテンツ。

適用対象

InvokeApiAsync<T>(String)

HTTP POST を使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。

public System.Threading.Tasks.Task<T> InvokeApiAsync<T> (string apiName);
abstract member InvokeApiAsync : string -> System.Threading.Tasks.Task<'T>
Public Function InvokeApiAsync(Of T) (apiName As String) As Task(Of T)

型パラメーター

T

Microsoft Azure Mobile Service から返されるインスタンスの種類。

パラメーター

apiName
String

カスタム API の名前。

戻り値

Task<T>

カスタム API の呼び出しからの応答コンテンツ。

適用対象

InvokeApiAsync<T>(String, HttpMethod, IDictionary<String,String>, CancellationToken)

指定した HTTP メソッドを使用して、Microsoft Azure Mobile Service のユーザー定義カスタム API を呼び出します。 追加のデータは、クエリ文字列を使用して渡すことができます。

public System.Threading.Tasks.Task<T> InvokeApiAsync<T> (string apiName, System.Net.Http.HttpMethod method, System.Collections.Generic.IDictionary<string,string> parameters, System.Threading.CancellationToken cancellationToken = default);
abstract member InvokeApiAsync : string * System.Net.Http.HttpMethod * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'T>
Public Function InvokeApiAsync(Of T) (apiName As String, method As HttpMethod, parameters As IDictionary(Of String, String), Optional cancellationToken As CancellationToken = Nothing) As Task(Of T)

型パラメーター

T

Microsoft Azure Mobile Service に送信されるインスタンスの種類。

パラメーター

apiName
String

カスタム API の名前。

method
HttpMethod

HTTP メソッド。

parameters
IDictionary<String,String>

要求 URI クエリ文字列に含めるユーザー定義パラメーターと値の辞書。

cancellationToken
CancellationToken

CancellationToken観察するトークン

戻り値

Task<T>

カスタム API の呼び出しからの応答コンテンツ。

適用対象