Udostępnij za pośrednictwem


IMobileServiceClient Interface

Definition

Interface for the MobileServiceClient.

public interface IMobileServiceClient
type IMobileServiceClient = interface
Public Interface IMobileServiceClient
Derived

Properties

AlternateLoginHost

Alternate Host URI for login

ApplicationKey

Gets the Mobile Services application's name that is provided by the call to MobileServiceClient(...).

ApplicationUri

Gets the Uri to the Mobile Services application that is provided by the call to MobileServiceClient(...).

CurrentUser

The current authenticated user provided after a successful call to MobileServiceClient.Login().

EventManager

The event manager that exposes and manages the event stream used by the mobile services types to publish and consume events.

InstallationId

Returns the application's installation id.

LoginUriPrefix

Prefix for login endpoints. If not set defaults to /.auth/login

MobileAppUri

Absolute URI of the Microsoft Azure Mobile App.

SerializerSettings

Gets or sets the settings used for serialization.

SyncContext

Returns a IMobileServiceSyncContext instance.

Methods

GetSyncTable(String)

Returns a IMobileServiceSyncTable instance, which provides untyped data operations for a local table.

GetSyncTable<T>()

Returns a IMobileServiceTable<T> instance, which provides strongly typed data operations for a local table.

GetTable(String)

Returns a IMobileServiceTable instance, which provides untyped data operations for that table.

GetTable<T>()

Returns a IMobileServiceTable<T> instance, which provides strongly typed data operations for that table.

InvokeApiAsync(String)

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

InvokeApiAsync(String, CancellationToken)

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

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

Invokes a user-defined custom API of a Microsoft Azure Mobile Service using the specified HttpMethod. Additional data can be sent though the HTTP content or the query string.

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

Invokes a user-defined custom API of a Microsoft Azure Mobile Service using the specified HttpMethod. Additional data can be sent though the HTTP content or the query string.

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

Invokes a user-defined custom API of a Microsoft Azure Mobile Service using the specified HTTP Method. Additional data will sent to through the query string.

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

Invokes a user-defined custom API of a Microsoft Azure Mobile Service using the specified HTTP Method. Additional data will sent to through the query string.

InvokeApiAsync(String, JToken)

Invokes a user-defined custom API of a Microsoft Azure Mobile Service using an HTTP POST, with support for sending HTTP content.

InvokeApiAsync(String, JToken, CancellationToken)

Invokes a user-defined custom API of a Microsoft Azure Mobile Service using an HTTP POST, with support for sending HTTP content.

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

Invokes a user-defined custom API of a Microsoft Azure Mobile Service using the specified HTTP method. Additional data can be sent though the HTTP content or the query string.

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

Invokes a user-defined custom API of a Microsoft Azure Mobile Service using the specified HTTP method. Additional data can be sent though the HTTP content or the query string.

InvokeApiAsync<T,U>(String, T)

Invokes a user-defined custom API of a Microsoft Azure Mobile Service using an HTTP POST with support for sending HTTP content.

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

Invokes a user-defined custom API of a Microsoft Azure Mobile Service using an HTTP POST with support for sending HTTP content.

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

Invokes a user-defined custom API of a Microsoft Azure Mobile Service using the specified HTTP Method. Additional data can be sent though the HTTP content or the query string.

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

Invokes a user-defined custom API of a Microsoft Azure Mobile Service using the specified HTTP Method. Additional data can be sent though the HTTP content or the query string.

InvokeApiAsync<T>(String)

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

InvokeApiAsync<T>(String, CancellationToken)

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

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

Invokes a user-defined custom API of a Microsoft Azure Mobile Service using the specified HTTP Method. Additional data can be passed using the query string.

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

Invokes a user-defined custom API of a Microsoft Azure Mobile Service using the specified HTTP Method. Additional data can be passed using the query string.

LoginAsync(MobileServiceAuthenticationProvider, JObject)

Logs a user into a Windows Azure Mobile Service with the provider and a token object.

LoginAsync(String, JObject)

Logs a user into a Microsoft Azure Mobile Service with the provider and a token object.

Logout()

Log a user out.

LogoutAsync()

Log a user out.

RefreshUserAsync()

Refreshes access token with the identity provider for the logged in user.

Applies to