MobileServiceClient クラス

定義

Microsoft Azure Mobile Service への基本的なアクセスを提供します。

public class MobileServiceClient : IDisposable, Microsoft.WindowsAzure.MobileServices.IMobileServiceClient
type MobileServiceClient = class
    interface IMobileServiceClient
    interface IDisposable
Public Class MobileServiceClient
Implements IDisposable, IMobileServiceClient
継承
MobileServiceClient
実装

コンストラクター

MobileServiceClient()

これは単体テスト専用です

MobileServiceClient(IMobileServiceClientOptions)

MobileServiceClient クラスの新しいインスタンスを初期化します。

MobileServiceClient(String)

MobileServiceClient クラスの新しいインスタンスを初期化します。

MobileServiceClient(String, HttpMessageHandler[])

MobileServiceClient クラスの新しいインスタンスを初期化します。

MobileServiceClient(String, String)

MobileServiceClient クラスの新しいインスタンスを初期化します。

MobileServiceClient(String, String, HttpMessageHandler[])

MobileServiceClient クラスの新しいインスタンスを初期化します。

MobileServiceClient(Uri)

MobileServiceClient クラスの新しいインスタンスを初期化します。

MobileServiceClient(Uri, HttpMessageHandler[])

MobileServiceClient クラスの新しいインスタンスを初期化します。

MobileServiceClient(Uri, String)

MobileServiceClient クラスの新しいインスタンスを初期化します。

MobileServiceClient(Uri, String, HttpMessageHandler[])

MobileServiceClient クラスの新しいインスタンスを初期化します。

プロパティ

AlternateLoginHost

ログインの代替 URI

ApplicationKey

MobileServiceClient(...) の呼び出しによって提供される Mobile Services アプリケーションの名前を取得します。

ApplicationUri

MobileServiceClient(...) の呼び出しによって提供される Mobile Services アプリケーションの URI を取得します。

CurrentUser

MobileServiceClient.Login() の呼び出しが成功した後に指定された現在の認証済みユーザー。

DefaultDatabasePath

オフライン同期のために作成する必要があるファイルの場所

EventManager

モバイル サービスの種類でイベントを公開および使用するために使用されるイベント ストリームを公開および管理するイベント マネージャー。

InstallationId

テレメトリ データを提供するためにアプリケーションのこのインストールを識別するために使用される ID。

LoginUriPrefix

ログイン エンドポイントのプレフィックス。 既定値を /.auth/login に設定しない場合

MobileAppUri

Microsoft Azure Mobile App の絶対 URI。

SerializerSettings

シリアル化に使用する設定を取得または設定します。

SyncContext

のインスタンス IMobileServiceSyncContext

メソッド

Dispose()

の補完 IDisposable

Dispose(Boolean)

使用する派生クラスの IDisposable の補完。

EnsureFileExists(String)

ファイルが存在することを確認し、必要に応じてファイルを作成します

GetSyncTable(String)

そのテーブルに対して型指定されていないデータ操作を提供する IMobileServiceSyncTable インスタンスを返します。

GetSyncTable<T>()

インスタンスを IMobileServiceSyncTable<T> 返します。これにより、ローカル テーブルに対して厳密に型指定されたデータ操作が提供されます。

GetTable(String)

そのテーブルに対して型指定されていないデータ操作を提供する IMobileServiceTable インスタンスを返します。

GetTable<T>()

そのテーブルに対して厳密に型指定されたデータ操作を提供する IMobileServiceTable<T> インスタンスを返します。

InvokeApiAsync(String)

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

InvokeApiAsync(String, CancellationToken)

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

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

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

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

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

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

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

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

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

InvokeApiAsync(String, JToken)

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

InvokeApiAsync(String, JToken, CancellationToken)

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

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

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

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

指定した 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,U>(String, T, HttpMethod, IDictionary<String,String>)

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

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

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

InvokeApiAsync<T>(String)

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

InvokeApiAsync<T>(String, CancellationToken)

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

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

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

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

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

LoginAsync(MobileServiceAuthenticationProvider, JObject)

プロバイダーとオプションのトークン オブジェクトを使用して、ユーザーを Windows Azure Mobile Service にログに記録します。

LoginAsync(String, JObject)

プロバイダーとオプションのトークン オブジェクトを使用して、ユーザーを Microsoft Azure Mobile Service にログに記録します。

Logout()

ユーザーがログアウトするようにします。

LogoutAsync()

ユーザーがログアウトするようにします。

RefreshUserAsync()

ログインしているユーザーの ID プロバイダーを使用してアクセス トークンを更新します。

拡張メソッド

LoginWithMicrosoftAccountAsync(MobileServiceClient, String)

Microsoft アカウント認証トークンを指定して、Mobile Services アプリケーションにユーザーをログインさせます。

適用対象