Dışarıya aktar (0) Yazdır
Tümünü Genişlet
EN
Bu içerik dilinizde bulunmamaktadır ancak İngilizce sürümüne buradan bakabilirsiniz.

IMobileServiceClient Interface

Updated: June 25, 2013

Interface for the MobileServiceClient.

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

public interface IMobileServiceClient

The IMobileServiceClient type exposes the following members.

  NameDescription
Public propertyApplicationKeyGets the name of the mobile service.
Public propertyApplicationUriGets the URI used to access to the mobile service.
Public propertyCurrentUserThe current authenticated user returned by a successful call to LoginAsync(MobileServiceAuthenticationProvider, JObject).
Public propertySerializerSettingsGets or sets the settings used for serialization.
Top

  NameDescription
Public methodGetTable(String)Returns a IMobileServiceTable instance, which provides untyped data operations for that table.
Public methodGetTable<T>()Returns a IMobileServiceTable<T> instance, which provides strongly typed data operations for that table.
Public methodInvokeApiAsync(String)Invokes a user-defined custom API of a Windows Azure Mobile Service using an HTTP POST.
Public methodInvokeApiAsync(String, JToken)Invokes a user-defined custom API of a Windows Azure Mobile Service using an HTTP POST, with support for sending HTTP content.
Public methodInvokeApiAsync(String, HttpMethod, IDictionary<String, String>)Invokes a user-defined custom API of a Windows Azure Mobile Service using the specified HTTP Method. Additional data will sent to through the query string.
Public methodInvokeApiAsync(String, JToken, HttpMethod, IDictionary<String, String>)Invokes a user-defined custom API of a Windows Azure Mobile Service using the specified HTTP method. Additional data can be sent though the HTTP content or the query string.
Public methodInvokeApiAsync(String, HttpContent, HttpMethod, IDictionary<String, String>, IDictionary<String, String>)Invokes a user-defined custom API of a Windows Azure Mobile Service using the specified HttpMethod. Additional data can be sent though the HTTP content or the query string.
Public methodInvokeApiAsync<T>(String)Invokes a user-defined custom API of a Windows Azure Mobile Service using an HTTP POST.
Public methodInvokeApiAsync<T>(String, HttpMethod, IDictionary<String, String>)Invokes a user-defined custom API of a Windows Azure Mobile Service using the specified HTTP Method. Additional data can be passed using the query string.
Public methodInvokeApiAsync<T, U>(String, T)Invokes a user-defined custom API of a Windows Azure Mobile Service using an HTTP POST with support for sending HTTP content.
Public methodInvokeApiAsync<T, U>(String, T, HttpMethod, IDictionary<String, String>)Invokes a user-defined custom API of a Windows Azure Mobile Service using the specified HTTP Method. Additional data can be sent though the HTTP content or the query string.
Public methodLoginAsync(String, JObject)Logs a user into a Windows Azure Mobile Service with the provider and a token object.
Public methodLoginAsync(MobileServiceAuthenticationProvider, JObject)Logs a user into a Windows Azure Mobile Service with the provider and optional token object.
Public methodLogoutLog a user out.
Top

  NameDescription
Public Extension MethodLoginAsync(String)Overloaded. Log a user into a Mobile Services application given a provider name. (Defined by MobileServiceClientExtensions.)
Public Extension MethodLoginAsync(MobileServiceAuthenticationProvider)Overloaded. Initiates service-directed authentication by supplying a token obtained from the specified identity provider. (Defined by MobileServiceClientExtensions.)
Public Extension MethodLoginAsync(String, Boolean)Overloaded. Log a user into a Mobile Services application given a provider name and optional token object. (Defined by SingleSignOnExtensions.)
Public Extension MethodLoginAsync(MobileServiceAuthenticationProvider, Boolean)Overloaded. Log a user into a Mobile Services application given a provider name and optional token object. (Defined by SingleSignOnExtensions.)
Top

Topluluk İçeriği

Ekle
Show:
© 2014 Microsoft