エクスポート (0) 印刷
すべて展開
EN
このコンテンツは設定された言語で表示できません。英語版のページが表示されます。

MobileServiceClient Class

Updated: July 14, 2013

Provides basic access to Mobile Services.

System.Object
  Microsoft.WindowsAzure.MobileServices.MobileServiceClient

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

public class MobileServiceClient : IMobileServiceClient, 
	IDisposable

The MobileServiceClient type exposes the following members.

  NameDescription
Public methodMobileServiceClient(String)Initializes a new instance of the MobileServiceClient class with the specified application URL.
Public methodMobileServiceClient(Uri)Initializes a new instance of the MobileServiceClient class with the specified application URI.
Public methodMobileServiceClient(String, String)Initializes a new instance of the MobileServiceClient class with the specified application URL and application key.
Public methodMobileServiceClient(Uri, String)Initializes a new instance of the MobileServiceClient class with the specified application URI and application key.
Public methodMobileServiceClient(String, String, HttpMessageHandler[])Initializes a new instance of the MobileServiceClient class.
Public methodMobileServiceClient(Uri, String, HttpMessageHandler[])Initializes a new instance of the MobileServiceClient class.
Top

  NameDescription
Public propertyApplicationKeyGets or sets the application key for the mobile service.
Public propertyApplicationUriGets or sets the URI used to call the mobiles service.
Public propertyCurrentUserGets or sets the authenticated mobile service user.
Public propertySerializerSettingsGets or sets the settings used for serialization.
Top

  NameDescription
Public methodDispose()Implementation of IDisposable
Protected methodDispose(Boolean)Implementation of IDisposable for derived classes to use.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetTable(String)Gets a reference to a table, by name, and its data operations.
Public methodGetTable<T>()Gets a reference to a table, by element type, and its data operations.
Public methodGetType (Inherited from Object.)
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 optional token object.
Public methodLoginAsync(MobileServiceAuthenticationProvider, JObject)Initiates client-directed authentication by supplying a token obtained from the specified identity provider.
Public methodLogoutLogs a user out of a Mobile Services application.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Public Extension MethodGetPushExtension method to get a Push object made from an existing MobileServiceClient. (Defined by MobileServiceClientExtensions.)
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.)
Public Extension MethodLoginWithMicrosoftAccountAsyncInitiates authentication using a cached single sign-on token provided by a previous Microsoft Account login. (Defined by MobileServiceClientExtensions.)
Top

No content here will be updated; please do not add material here.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

コミュニティの追加

追加
表示:
© 2014 Microsoft