C# Класс Microsoft.WindowsAzure.MobileServices.MobileServiceClient

Provides basic access to Mobile Services.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetTable ( string tableName ) : IMobileServiceTable

Gets a reference to a table and its data operations.

MobileServiceClient ( Uri applicationUri ) : System

Initializes a new instance of the MobileServiceClient class.

MobileServiceClient ( Uri applicationUri, string applicationKey ) : System

Initializes a new instance of the MobileServiceClient class.

Приватные методы

Метод Описание
GetResponseJsonAsync ( IServiceFilterResponse response ) : IJsonValue
LoginAsync ( Context context, MobileServiceAuthenticationProvider provider ) : Task
LoginAsync ( Context context, MobileServiceAuthenticationProvider provider, JsonObject token ) : Task
LoginAsync ( RectangleF rectangle, UIView view, MobileServiceAuthenticationProvider provider ) : Task
LoginAsync ( RectangleF rectangle, UIView view, MobileServiceAuthenticationProvider provider, JsonObject token ) : Task
LoginAsync ( UIBarButtonItem barButtonItem, MobileServiceAuthenticationProvider provider ) : Task
LoginAsync ( UIBarButtonItem barButtonItem, MobileServiceAuthenticationProvider provider, JsonObject token ) : Task
LoginAsync ( UIViewController viewController, MobileServiceAuthenticationProvider provider ) : Task
LoginAsync ( UIViewController viewController, MobileServiceAuthenticationProvider provider, JsonObject token ) : Task
Logout ( ) : void
MobileServiceClient ( MobileServiceClient service ) : System

Initializes a new instance of the MobileServiceClient class based on an existing instance.

RequestAsync ( string method, string uriFragment, IJsonValue content ) : Task

Perform a web request and include the standard Mobile Services headers.

SendLoginAsync ( Context context, MobileServiceAuthenticationProvider provider, JsonObject token = null ) : Task

Log a user into a Mobile Services application given a provider name and optional token object.

SendLoginAsync ( MobileServiceAuthenticationProvider provider, JsonObject token = null ) : Task

Log a user into a Mobile Services application given a provider name and optional token object.

SendLoginAsync ( RectangleF rect, object view, MobileServiceAuthenticationProvider provider, JsonObject token = null ) : Task
SendLoginAsync ( string authenticationToken ) : Task

Log a user into a Mobile Services application given an access token.

SetupCurrentUser ( IJsonValue value ) : void
ThrowInvalidResponse ( IServiceFilterRequest request, IServiceFilterResponse response, IJsonValue body ) : void

Throw an exception for an invalid response to a web request.

WithFilter ( IServiceFilter filter ) : MobileServiceClient

Описание методов

GetTable() публичный Метод

Gets a reference to a table and its data operations.
public GetTable ( string tableName ) : IMobileServiceTable
tableName string The name of the table.
Результат IMobileServiceTable

MobileServiceClient() публичный Метод

Initializes a new instance of the MobileServiceClient class.
public MobileServiceClient ( Uri applicationUri ) : System
applicationUri System.Uri /// The Uri to the Mobile Services application. ///
Результат System

MobileServiceClient() публичный Метод

Initializes a new instance of the MobileServiceClient class.
public MobileServiceClient ( Uri applicationUri, string applicationKey ) : System
applicationUri System.Uri /// The Uri to the Mobile Services application. ///
applicationKey string /// The application name for the Mobile Services application. ///
Результат System