Share via


MobileServiceClient Constructors

Definition

Overloads

MobileServiceClient()

This is for unit testing only

MobileServiceClient(IMobileServiceClientOptions)

Initializes a new instance of the MobileServiceClient class.

MobileServiceClient(String)

Initializes a new instance of the MobileServiceClient class.

MobileServiceClient(Uri)

Initializes a new instance of the MobileServiceClient class.

MobileServiceClient(String, HttpMessageHandler[])

Initializes a new instance of the MobileServiceClient class.

MobileServiceClient(String, String)

Initializes a new instance of the MobileServiceClient class.

MobileServiceClient(Uri, HttpMessageHandler[])

Initializes a new instance of the MobileServiceClient class.

MobileServiceClient(Uri, String)

Initializes a new instance of the MobileServiceClient class.

MobileServiceClient(String, String, HttpMessageHandler[])

Initializes a new instance of the MobileServiceClient class.

MobileServiceClient(Uri, String, HttpMessageHandler[])

Initializes a new instance of the MobileServiceClient class.

MobileServiceClient()

This is for unit testing only

protected MobileServiceClient ();
Protected Sub New ()

Applies to

MobileServiceClient(IMobileServiceClientOptions)

Initializes a new instance of the MobileServiceClient class.

public MobileServiceClient (Microsoft.WindowsAzure.MobileServices.IMobileServiceClientOptions options);
new Microsoft.WindowsAzure.MobileServices.MobileServiceClient : Microsoft.WindowsAzure.MobileServices.IMobileServiceClientOptions -> Microsoft.WindowsAzure.MobileServices.MobileServiceClient
Public Sub New (options As IMobileServiceClientOptions)

Parameters

options
IMobileServiceClientOptions

the connection options.

Applies to

MobileServiceClient(String)

Initializes a new instance of the MobileServiceClient class.

public MobileServiceClient (string applicationUrl);
new Microsoft.WindowsAzure.MobileServices.MobileServiceClient : string -> Microsoft.WindowsAzure.MobileServices.MobileServiceClient
Public Sub New (applicationUrl As String)

Parameters

applicationUrl
String

The URI for the Microsoft Azure Mobile Service.

Applies to

MobileServiceClient(Uri)

Initializes a new instance of the MobileServiceClient class.

public MobileServiceClient (Uri applicationUri);
new Microsoft.WindowsAzure.MobileServices.MobileServiceClient : Uri -> Microsoft.WindowsAzure.MobileServices.MobileServiceClient
Public Sub New (applicationUri As Uri)

Parameters

applicationUri
Uri

The URI for the Microsoft Azure Mobile Service.

Applies to

MobileServiceClient(String, HttpMessageHandler[])

Initializes a new instance of the MobileServiceClient class.

public MobileServiceClient (string mobileAppUri, params System.Net.Http.HttpMessageHandler[] handlers);
new Microsoft.WindowsAzure.MobileServices.MobileServiceClient : string * System.Net.Http.HttpMessageHandler[] -> Microsoft.WindowsAzure.MobileServices.MobileServiceClient
Public Sub New (mobileAppUri As String, ParamArray handlers As HttpMessageHandler())

Parameters

mobileAppUri
String

Absolute URI of the Microsoft Azure Mobile App.

handlers
HttpMessageHandler[]

Chain of HttpMessageHandler instances. All but the last should be DelegatingHandlers.

Applies to

MobileServiceClient(String, String)

Initializes a new instance of the MobileServiceClient class.

public MobileServiceClient (string applicationUrl, string applicationKey);
new Microsoft.WindowsAzure.MobileServices.MobileServiceClient : string * string -> Microsoft.WindowsAzure.MobileServices.MobileServiceClient
Public Sub New (applicationUrl As String, applicationKey As String)

Parameters

applicationUrl
String

The URI for the Microsoft Azure Mobile Service.

applicationKey
String

The application key for the Microsoft Azure Mobile Service.

Applies to

MobileServiceClient(Uri, HttpMessageHandler[])

Initializes a new instance of the MobileServiceClient class.

public MobileServiceClient (Uri mobileAppUri, params System.Net.Http.HttpMessageHandler[] handlers);
new Microsoft.WindowsAzure.MobileServices.MobileServiceClient : Uri * System.Net.Http.HttpMessageHandler[] -> Microsoft.WindowsAzure.MobileServices.MobileServiceClient
Public Sub New (mobileAppUri As Uri, ParamArray handlers As HttpMessageHandler())

Parameters

mobileAppUri
Uri

Absolute URI of the Microsoft Azure Mobile App.

handlers
HttpMessageHandler[]

Chain of HttpMessageHandler instances. All but the last should be DelegatingHandlers.

Applies to

MobileServiceClient(Uri, String)

Initializes a new instance of the MobileServiceClient class.

public MobileServiceClient (Uri applicationUri, string applicationKey);
new Microsoft.WindowsAzure.MobileServices.MobileServiceClient : Uri * string -> Microsoft.WindowsAzure.MobileServices.MobileServiceClient
Public Sub New (applicationUri As Uri, applicationKey As String)

Parameters

applicationUri
Uri

The URI for the Microsoft Azure Mobile Service.

applicationKey
String

The application key for the Microsoft Azure Mobile Service.

Applies to

MobileServiceClient(String, String, HttpMessageHandler[])

Initializes a new instance of the MobileServiceClient class.

public MobileServiceClient (string applicationUrl, string applicationKey, params System.Net.Http.HttpMessageHandler[] handlers);
new Microsoft.WindowsAzure.MobileServices.MobileServiceClient : string * string * System.Net.Http.HttpMessageHandler[] -> Microsoft.WindowsAzure.MobileServices.MobileServiceClient
Public Sub New (applicationUrl As String, applicationKey As String, ParamArray handlers As HttpMessageHandler())

Parameters

applicationUrl
String

The URI for the Microsoft Azure Mobile Service.

applicationKey
String

The application key for the Microsoft Azure Mobile Service.

handlers
HttpMessageHandler[]

Chain of HttpMessageHandler instances. All but the last should be DelegatingHandlers.

Applies to

MobileServiceClient(Uri, String, HttpMessageHandler[])

Initializes a new instance of the MobileServiceClient class.

public MobileServiceClient (Uri applicationUri, string applicationKey, params System.Net.Http.HttpMessageHandler[] handlers);
new Microsoft.WindowsAzure.MobileServices.MobileServiceClient : Uri * string * System.Net.Http.HttpMessageHandler[] -> Microsoft.WindowsAzure.MobileServices.MobileServiceClient
Public Sub New (applicationUri As Uri, applicationKey As String, ParamArray handlers As HttpMessageHandler())

Parameters

applicationUri
Uri

The URI for the Microsoft Azure Mobile Service.

applicationKey
String

The application key for the Microsoft Azure Mobile Service.

handlers
HttpMessageHandler[]

Chain of HttpMessageHandler instances. All but the last should be DelegatingHandlers.

Applies to