AdlsClient.CreateClient Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateClient(String, ServiceClientCredentials) |
Factory method that creates an instance of AdlsClient using ServiceClientCredential. If an application wants to perform multi-threaded operations using this SDK it is highly recomended to set ServicePointManager.DefaultConnectionLimit to the number of threads application wants the sdk to use before creating any instance of AdlsClient. By default ServicePointManager.DefaultConnectionLimit is set to 2. |
CreateClient(String, String) |
Factory method that creates an instance AdlsClient using the token key. If an application wants to perform multi-threaded operations using this SDK it is highly recomended to set ServicePointManager.DefaultConnectionLimit to the number of threads application wants the sdk to use before creating any instance of AdlsClient. By default ServicePointManager.DefaultConnectionLimit is set to 2. |
CreateClient(String, ServiceClientCredentials, Int32) |
Factory method that creates an instance of AdlsClient using ServiceClientCredential. If an application wants to perform multi-threaded operations using this SDK it is highly recomended to set ServicePointManager.DefaultConnectionLimit to the number of threads application wants the sdk to use before creating any instance of AdlsClient. By default ServicePointManager.DefaultConnectionLimit is set to 2. |
CreateClient(String, ServiceClientCredentials, DelegatingHandler[]) |
Factory method that creates an instance of AdlsClient using ServiceClientCredential. If an application wants to perform multi-threaded operations using this SDK it is highly recomended to set ServicePointManager.DefaultConnectionLimit to the number of threads application wants the sdk to use before creating any instance of AdlsClient. By default ServicePointManager.DefaultConnectionLimit is set to 2. |
CreateClient(String, String, Int32) |
Factory method that creates an instance AdlsClient using the token key. If an application wants to perform multi-threaded operations using this SDK it is highly recomended to set ServicePointManager.DefaultConnectionLimit to the number of threads application wants the sdk to use before creating any instance of AdlsClient. By default ServicePointManager.DefaultConnectionLimit is set to 2. |
CreateClient(String, ServiceClientCredentials, Int32, DelegatingHandler[]) |
Factory method that creates an instance of AdlsClient using ServiceClientCredential. If an application wants to perform multi-threaded operations using this SDK it is highly recomended to set ServicePointManager.DefaultConnectionLimit to the number of threads application wants the sdk to use before creating any instance of AdlsClient. By default ServicePointManager.DefaultConnectionLimit is set to 2. |
CreateClient(String, ServiceClientCredentials)
Factory method that creates an instance of AdlsClient using ServiceClientCredential. If an application wants to perform multi-threaded operations using this SDK it is highly recomended to set ServicePointManager.DefaultConnectionLimit to the number of threads application wants the sdk to use before creating any instance of AdlsClient. By default ServicePointManager.DefaultConnectionLimit is set to 2.
public static Microsoft.Azure.DataLake.Store.AdlsClient CreateClient (string accountFqdn, Microsoft.Rest.ServiceClientCredentials creds);
static member CreateClient : string * Microsoft.Rest.ServiceClientCredentials -> Microsoft.Azure.DataLake.Store.AdlsClient
Public Shared Function CreateClient (accountFqdn As String, creds As ServiceClientCredentials) As AdlsClient
Parameters
- accountFqdn
- String
Azure data lake store account name including full domain name (e.g. contoso.azuredatalakestore.net)
- creds
- ServiceClientCredentials
Credentials that retrieves the Auth token
Returns
AdlsClient
Applies to
CreateClient(String, String)
Factory method that creates an instance AdlsClient using the token key. If an application wants to perform multi-threaded operations using this SDK it is highly recomended to set ServicePointManager.DefaultConnectionLimit to the number of threads application wants the sdk to use before creating any instance of AdlsClient. By default ServicePointManager.DefaultConnectionLimit is set to 2.
public static Microsoft.Azure.DataLake.Store.AdlsClient CreateClient (string accountFqdn, string token);
static member CreateClient : string * string -> Microsoft.Azure.DataLake.Store.AdlsClient
Public Shared Function CreateClient (accountFqdn As String, token As String) As AdlsClient
Parameters
- accountFqdn
- String
Azure data lake store account name including full domain name (e.g. contoso.azuredatalakestore.net)
- token
- String
Full authorization Token e.g. Bearer abcddsfere.....
Returns
AdlsClient
Applies to
CreateClient(String, ServiceClientCredentials, Int32)
Factory method that creates an instance of AdlsClient using ServiceClientCredential. If an application wants to perform multi-threaded operations using this SDK it is highly recomended to set ServicePointManager.DefaultConnectionLimit to the number of threads application wants the sdk to use before creating any instance of AdlsClient. By default ServicePointManager.DefaultConnectionLimit is set to 2.
public static Microsoft.Azure.DataLake.Store.AdlsClient CreateClient (string accountFqdn, Microsoft.Rest.ServiceClientCredentials creds, int concurrency);
static member CreateClient : string * Microsoft.Rest.ServiceClientCredentials * int -> Microsoft.Azure.DataLake.Store.AdlsClient
Public Shared Function CreateClient (accountFqdn As String, creds As ServiceClientCredentials, concurrency As Integer) As AdlsClient
Parameters
- accountFqdn
- String
Azure data lake store account name including full domain name (e.g. contoso.azuredatalakestore.net)
- creds
- ServiceClientCredentials
Credentials that retrieves the Auth token
- concurrency
- Int32
Controls the number of parrallel connections to the server
Returns
Applies to
CreateClient(String, ServiceClientCredentials, DelegatingHandler[])
Factory method that creates an instance of AdlsClient using ServiceClientCredential. If an application wants to perform multi-threaded operations using this SDK it is highly recomended to set ServicePointManager.DefaultConnectionLimit to the number of threads application wants the sdk to use before creating any instance of AdlsClient. By default ServicePointManager.DefaultConnectionLimit is set to 2.
public static Microsoft.Azure.DataLake.Store.AdlsClient CreateClient (string accountFqdn, Microsoft.Rest.ServiceClientCredentials creds, params System.Net.Http.DelegatingHandler[] customHandlers);
static member CreateClient : string * Microsoft.Rest.ServiceClientCredentials * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.DataLake.Store.AdlsClient
Public Shared Function CreateClient (accountFqdn As String, creds As ServiceClientCredentials, ParamArray customHandlers As DelegatingHandler()) As AdlsClient
Parameters
- accountFqdn
- String
Azure data lake store account name including full domain name (e.g. contoso.azuredatalakestore.net)
- creds
- ServiceClientCredentials
Credentials that retrieves the Auth token
- customHandlers
- DelegatingHandler[]
Custom handlers for httpclient
Returns
AdlsClient
Applies to
CreateClient(String, String, Int32)
Factory method that creates an instance AdlsClient using the token key. If an application wants to perform multi-threaded operations using this SDK it is highly recomended to set ServicePointManager.DefaultConnectionLimit to the number of threads application wants the sdk to use before creating any instance of AdlsClient. By default ServicePointManager.DefaultConnectionLimit is set to 2.
public static Microsoft.Azure.DataLake.Store.AdlsClient CreateClient (string accountFqdn, string token, int concurrency);
static member CreateClient : string * string * int -> Microsoft.Azure.DataLake.Store.AdlsClient
Public Shared Function CreateClient (accountFqdn As String, token As String, concurrency As Integer) As AdlsClient
Parameters
- accountFqdn
- String
Azure data lake store account name including full domain name (e.g. contoso.azuredatalakestore.net)
- token
- String
Full authorization Token e.g. Bearer abcddsfere.....
- concurrency
- Int32
Controls the number of parrallel connections to the server
Returns
AdlsClient
Applies to
CreateClient(String, ServiceClientCredentials, Int32, DelegatingHandler[])
Factory method that creates an instance of AdlsClient using ServiceClientCredential. If an application wants to perform multi-threaded operations using this SDK it is highly recomended to set ServicePointManager.DefaultConnectionLimit to the number of threads application wants the sdk to use before creating any instance of AdlsClient. By default ServicePointManager.DefaultConnectionLimit is set to 2.
public static Microsoft.Azure.DataLake.Store.AdlsClient CreateClient (string accountFqdn, Microsoft.Rest.ServiceClientCredentials creds, int concurrency, params System.Net.Http.DelegatingHandler[] customHandlers);
static member CreateClient : string * Microsoft.Rest.ServiceClientCredentials * int * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.DataLake.Store.AdlsClient
Public Shared Function CreateClient (accountFqdn As String, creds As ServiceClientCredentials, concurrency As Integer, ParamArray customHandlers As DelegatingHandler()) As AdlsClient
Parameters
- accountFqdn
- String
Azure data lake store account name including full domain name (e.g. contoso.azuredatalakestore.net)
- creds
- ServiceClientCredentials
Credentials that retrieves the Auth token
- concurrency
- Int32
Controls the number of parrallel connections to the server
- customHandlers
- DelegatingHandler[]
Custom handlers for httpclient
Returns
Applies to
Azure SDK for .NET