共用方式為


BatchManagementClient 建構函式

定義

多載

BatchManagementClient(DelegatingHandler[])

初始化 BatchManagementClient 類別的新實例。

BatchManagementClient(ServiceClientCredentials, DelegatingHandler[])

初始化 BatchManagementClient 類別的新實例。

BatchManagementClient(HttpClient, Boolean)

初始化 BatchManagementClient 類別的新實例。

BatchManagementClient(HttpClientHandler, DelegatingHandler[])

初始化 BatchManagementClient 類別的新實例。

BatchManagementClient(Uri, DelegatingHandler[])

初始化 BatchManagementClient 類別的新實例。

BatchManagementClient(ServiceClientCredentials, HttpClient, Boolean)

初始化 BatchManagementClient 類別的新實例。

BatchManagementClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

初始化 BatchManagementClient 類別的新實例。

BatchManagementClient(Uri, ServiceClientCredentials, DelegatingHandler[])

初始化 BatchManagementClient 類別的新實例。

BatchManagementClient(Uri, HttpClientHandler, DelegatingHandler[])

初始化 BatchManagementClient 類別的新實例。

BatchManagementClient(Uri, ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

初始化 BatchManagementClient 類別的新實例。

BatchManagementClient(DelegatingHandler[])

初始化 BatchManagementClient 類別的新實例。

protected BatchManagementClient (params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.Batch.BatchManagementClient : System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.Batch.BatchManagementClient
Protected Sub New (ParamArray handlers As DelegatingHandler())

參數

handlers
DelegatingHandler[]

選擇性。 要新增至 HTTP 用戶端管線的委派處理常式。

適用於

BatchManagementClient(ServiceClientCredentials, DelegatingHandler[])

初始化 BatchManagementClient 類別的新實例。

public BatchManagementClient (Microsoft.Rest.ServiceClientCredentials credentials, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.Batch.BatchManagementClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.Batch.BatchManagementClient
Public Sub New (credentials As ServiceClientCredentials, ParamArray handlers As DelegatingHandler())

參數

credentials
ServiceClientCredentials

必要。 用戶端連線至 Azure 所需的認證。

handlers
DelegatingHandler[]

選擇性。 要新增至 HTTP 用戶端管線的委派處理常式。

例外狀況

當必要參數為 null 時擲回

適用於

BatchManagementClient(HttpClient, Boolean)

初始化 BatchManagementClient 類別的新實例。

protected BatchManagementClient (System.Net.Http.HttpClient httpClient, bool disposeHttpClient);
new Microsoft.Azure.Management.Batch.BatchManagementClient : System.Net.Http.HttpClient * bool -> Microsoft.Azure.Management.Batch.BatchManagementClient
Protected Sub New (httpClient As HttpClient, disposeHttpClient As Boolean)

參數

httpClient
HttpClient

要使用的 HttpClient

disposeHttpClient
Boolean

True:會在呼叫 BatchManagementClient.Dispose () 時處置提供的 HTTPClient。 False:不會處置提供的 HTTPClient

適用於

BatchManagementClient(HttpClientHandler, DelegatingHandler[])

初始化 BatchManagementClient 類別的新實例。

protected BatchManagementClient (System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.Batch.BatchManagementClient : System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.Batch.BatchManagementClient
Protected Sub New (rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

參數

rootHandler
HttpClientHandler

選擇性。 用來處理 HTTP 傳輸的 HTTP 用戶端處理常式。

handlers
DelegatingHandler[]

選擇性。 要新增至 HTTP 用戶端管線的委派處理常式。

適用於

BatchManagementClient(Uri, DelegatingHandler[])

初始化 BatchManagementClient 類別的新實例。

protected BatchManagementClient (Uri baseUri, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.Batch.BatchManagementClient : Uri * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.Batch.BatchManagementClient
Protected Sub New (baseUri As Uri, ParamArray handlers As DelegatingHandler())

參數

baseUri
Uri

選擇性。 服務的基底 URI。

handlers
DelegatingHandler[]

選擇性。 要新增至 HTTP 用戶端管線的委派處理常式。

例外狀況

當必要參數為 null 時擲回

適用於

BatchManagementClient(ServiceClientCredentials, HttpClient, Boolean)

初始化 BatchManagementClient 類別的新實例。

public BatchManagementClient (Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClient httpClient, bool disposeHttpClient);
new Microsoft.Azure.Management.Batch.BatchManagementClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClient * bool -> Microsoft.Azure.Management.Batch.BatchManagementClient
Public Sub New (credentials As ServiceClientCredentials, httpClient As HttpClient, disposeHttpClient As Boolean)

參數

credentials
ServiceClientCredentials

必要。 用戶端連線至 Azure 所需的認證。

httpClient
HttpClient

要使用的 HttpClient

disposeHttpClient
Boolean

True:會在呼叫 BatchManagementClient.Dispose () 時處置提供的 HTTPClient。 False:不會處置提供的 HTTPClient

例外狀況

當必要參數為 null 時擲回

適用於

BatchManagementClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

初始化 BatchManagementClient 類別的新實例。

public BatchManagementClient (Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.Batch.BatchManagementClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.Batch.BatchManagementClient
Public Sub New (credentials As ServiceClientCredentials, rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

參數

credentials
ServiceClientCredentials

必要。 用戶端連線至 Azure 所需的認證。

rootHandler
HttpClientHandler

選擇性。 用來處理 HTTP 傳輸的 HTTP 用戶端處理常式。

handlers
DelegatingHandler[]

選擇性。 要新增至 HTTP 用戶端管線的委派處理常式。

例外狀況

當必要參數為 null 時擲回

適用於

BatchManagementClient(Uri, ServiceClientCredentials, DelegatingHandler[])

初始化 BatchManagementClient 類別的新實例。

public BatchManagementClient (Uri baseUri, Microsoft.Rest.ServiceClientCredentials credentials, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.Batch.BatchManagementClient : Uri * Microsoft.Rest.ServiceClientCredentials * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.Batch.BatchManagementClient
Public Sub New (baseUri As Uri, credentials As ServiceClientCredentials, ParamArray handlers As DelegatingHandler())

參數

baseUri
Uri

選擇性。 服務的基底 URI。

credentials
ServiceClientCredentials

必要。 用戶端連線至 Azure 所需的認證。

handlers
DelegatingHandler[]

選擇性。 要新增至 HTTP 用戶端管線的委派處理常式。

例外狀況

當必要參數為 null 時擲回

適用於

BatchManagementClient(Uri, HttpClientHandler, DelegatingHandler[])

初始化 BatchManagementClient 類別的新實例。

protected BatchManagementClient (Uri baseUri, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.Batch.BatchManagementClient : Uri * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.Batch.BatchManagementClient
Protected Sub New (baseUri As Uri, rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

參數

baseUri
Uri

選擇性。 服務的基底 URI。

rootHandler
HttpClientHandler

選擇性。 用來處理 HTTP 傳輸的 HTTP 用戶端處理常式。

handlers
DelegatingHandler[]

選擇性。 要新增至 HTTP 用戶端管線的委派處理常式。

例外狀況

當必要參數為 null 時擲回

適用於

BatchManagementClient(Uri, ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

初始化 BatchManagementClient 類別的新實例。

public BatchManagementClient (Uri baseUri, Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.Batch.BatchManagementClient : Uri * Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.Batch.BatchManagementClient
Public Sub New (baseUri As Uri, credentials As ServiceClientCredentials, rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

參數

baseUri
Uri

選擇性。 服務的基底 URI。

credentials
ServiceClientCredentials

必要。 用戶端連線至 Azure 所需的認證。

rootHandler
HttpClientHandler

選擇性。 用來處理 HTTP 傳輸的 HTTP 用戶端處理常式。

handlers
DelegatingHandler[]

選擇性。 要新增至 HTTP 用戶端管線的委派處理常式。

例外狀況

當必要參數為 null 時擲回

適用於