Udostępnij za pośrednictwem


AutomationClient Konstruktory

Definicja

Przeciążenia

AutomationClient(DelegatingHandler[])

Inicjuje nowe wystąpienie klasy AutomationClient.

AutomationClient(ServiceClientCredentials, DelegatingHandler[])

Inicjuje nowe wystąpienie klasy AutomationClient.

AutomationClient(HttpClient, Boolean)

Inicjuje nowe wystąpienie klasy AutomationClient.

AutomationClient(HttpClientHandler, DelegatingHandler[])

Inicjuje nowe wystąpienie klasy AutomationClient.

AutomationClient(Uri, DelegatingHandler[])

Inicjuje nowe wystąpienie klasy AutomationClient.

AutomationClient(ServiceClientCredentials, HttpClient, Boolean)

Inicjuje nowe wystąpienie klasy AutomationClient.

AutomationClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Inicjuje nowe wystąpienie klasy AutomationClient.

AutomationClient(Uri, ServiceClientCredentials, DelegatingHandler[])

Inicjuje nowe wystąpienie klasy AutomationClient.

AutomationClient(Uri, HttpClientHandler, DelegatingHandler[])

Inicjuje nowe wystąpienie klasy AutomationClient.

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

Inicjuje nowe wystąpienie klasy AutomationClient.

AutomationClient(DelegatingHandler[])

Inicjuje nowe wystąpienie klasy AutomationClient.

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

Parametry

handlers
DelegatingHandler[]

Opcjonalny. Delegowanie procedur obsługi w celu dodania do potoku klienta http.

Dotyczy

AutomationClient(ServiceClientCredentials, DelegatingHandler[])

Inicjuje nowe wystąpienie klasy AutomationClient.

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

Parametry

credentials
ServiceClientCredentials

Wymagane. Poświadczenia potrzebne klientowi do nawiązania połączenia z platformą Azure.

handlers
DelegatingHandler[]

Opcjonalny. Delegowanie procedur obsługi w celu dodania do potoku klienta http.

Wyjątki

Zgłaszany, gdy wymagany parametr ma wartość null

Dotyczy

AutomationClient(HttpClient, Boolean)

Inicjuje nowe wystąpienie klasy AutomationClient.

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

Parametry

httpClient
HttpClient

Element HttpClient do użycia

disposeHttpClient
Boolean

Prawda: usunie podany element httpClient podczas wywoływania elementu AutomationClient.Dispose(). Fałsz: nie usunie dostarczonego obiektu httpClient

Dotyczy

AutomationClient(HttpClientHandler, DelegatingHandler[])

Inicjuje nowe wystąpienie klasy AutomationClient.

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

Parametry

rootHandler
HttpClientHandler

Opcjonalny. Procedura obsługi klienta http używana do obsługi transportu http.

handlers
DelegatingHandler[]

Opcjonalny. Delegowanie procedur obsługi w celu dodania do potoku klienta http.

Dotyczy

AutomationClient(Uri, DelegatingHandler[])

Inicjuje nowe wystąpienie klasy AutomationClient.

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

Parametry

baseUri
Uri

Opcjonalny. Podstawowy identyfikator URI usługi.

handlers
DelegatingHandler[]

Opcjonalny. Delegowanie procedur obsługi w celu dodania do potoku klienta http.

Wyjątki

Zgłaszany, gdy wymagany parametr ma wartość null

Dotyczy

AutomationClient(ServiceClientCredentials, HttpClient, Boolean)

Inicjuje nowe wystąpienie klasy AutomationClient.

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

Parametry

credentials
ServiceClientCredentials

Wymagane. Poświadczenia potrzebne klientowi do nawiązania połączenia z platformą Azure.

httpClient
HttpClient

Element HttpClient do użycia

disposeHttpClient
Boolean

Prawda: usunie podany element httpClient podczas wywoływania elementu AutomationClient.Dispose(). Fałsz: nie usunie dostarczonego obiektu httpClient

Wyjątki

Zgłaszany, gdy wymagany parametr ma wartość null

Dotyczy

AutomationClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Inicjuje nowe wystąpienie klasy AutomationClient.

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

Parametry

credentials
ServiceClientCredentials

Wymagane. Poświadczenia potrzebne klientowi do nawiązania połączenia z platformą Azure.

rootHandler
HttpClientHandler

Opcjonalny. Procedura obsługi klienta http używana do obsługi transportu http.

handlers
DelegatingHandler[]

Opcjonalny. Delegowanie procedur obsługi w celu dodania do potoku klienta http.

Wyjątki

Zgłaszany, gdy wymagany parametr ma wartość null

Dotyczy

AutomationClient(Uri, ServiceClientCredentials, DelegatingHandler[])

Inicjuje nowe wystąpienie klasy AutomationClient.

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

Parametry

baseUri
Uri

Opcjonalny. Podstawowy identyfikator URI usługi.

credentials
ServiceClientCredentials

Wymagane. Poświadczenia potrzebne klientowi do nawiązania połączenia z platformą Azure.

handlers
DelegatingHandler[]

Opcjonalny. Delegowanie procedur obsługi w celu dodania do potoku klienta http.

Wyjątki

Zgłaszany, gdy wymagany parametr ma wartość null

Dotyczy

AutomationClient(Uri, HttpClientHandler, DelegatingHandler[])

Inicjuje nowe wystąpienie klasy AutomationClient.

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

Parametry

baseUri
Uri

Opcjonalny. Podstawowy identyfikator URI usługi.

rootHandler
HttpClientHandler

Opcjonalny. Procedura obsługi klienta http używana do obsługi transportu http.

handlers
DelegatingHandler[]

Opcjonalny. Delegowanie procedur obsługi w celu dodania do potoku klienta http.

Wyjątki

Zgłaszany, gdy wymagany parametr ma wartość null

Dotyczy

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

Inicjuje nowe wystąpienie klasy AutomationClient.

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

Parametry

baseUri
Uri

Opcjonalny. Podstawowy identyfikator URI usługi.

credentials
ServiceClientCredentials

Wymagane. Poświadczenia potrzebne klientowi do nawiązania połączenia z platformą Azure.

rootHandler
HttpClientHandler

Opcjonalny. Procedura obsługi klienta http używana do obsługi transportu http.

handlers
DelegatingHandler[]

Opcjonalny. Delegowanie procedur obsługi w celu dodania do potoku klienta http.

Wyjątki

Zgłaszany, gdy wymagany parametr ma wartość null

Dotyczy