AutomationClient Konstruktorer
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Överlagringar
AutomationClient(DelegatingHandler[])
Initierar en ny instans av klassen 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())
Parametrar
- handlers
- DelegatingHandler[]
Valfritt. De delegerande hanterare som ska läggas till i http-klientpipelinen.
Gäller för
AutomationClient(ServiceClientCredentials, DelegatingHandler[])
Initierar en ny instans av klassen 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())
Parametrar
- credentials
- ServiceClientCredentials
Krävs. Autentiseringsuppgifter som krävs för att klienten ska kunna ansluta till Azure.
- handlers
- DelegatingHandler[]
Valfritt. De delegerande hanterare som ska läggas till i http-klientpipelinen.
Undantag
Genereras när en obligatorisk parameter är null
Gäller för
AutomationClient(HttpClient, Boolean)
Initierar en ny instans av klassen 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)
Parametrar
- httpClient
- HttpClient
HttpClient som ska användas
- disposeHttpClient
- Boolean
Sant: tar bort den angivna httpClient vid anrop av AutomationClient.Dispose(). Falskt: tar inte bort angivet httpClient
Gäller för
AutomationClient(HttpClientHandler, DelegatingHandler[])
Initierar en ny instans av klassen 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())
Parametrar
- rootHandler
- HttpClientHandler
Valfritt. Http-klienthanteraren som används för att hantera http-transport.
- handlers
- DelegatingHandler[]
Valfritt. De delegerande hanterare som ska läggas till i http-klientpipelinen.
Gäller för
AutomationClient(Uri, DelegatingHandler[])
Initierar en ny instans av klassen 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())
Parametrar
- baseUri
- Uri
Valfritt. Tjänstens bas-URI.
- handlers
- DelegatingHandler[]
Valfritt. De delegerande hanterare som ska läggas till i http-klientpipelinen.
Undantag
Genereras när en obligatorisk parameter är null
Gäller för
AutomationClient(ServiceClientCredentials, HttpClient, Boolean)
Initierar en ny instans av klassen 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)
Parametrar
- credentials
- ServiceClientCredentials
Krävs. Autentiseringsuppgifter som krävs för att klienten ska kunna ansluta till Azure.
- httpClient
- HttpClient
HttpClient som ska användas
- disposeHttpClient
- Boolean
Sant: tar bort den angivna httpClient vid anrop av AutomationClient.Dispose(). Falskt: tar inte bort angivet httpClient
Undantag
Genereras när en obligatorisk parameter är null
Gäller för
AutomationClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])
Initierar en ny instans av klassen 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())
Parametrar
- credentials
- ServiceClientCredentials
Krävs. Autentiseringsuppgifter som krävs för att klienten ska kunna ansluta till Azure.
- rootHandler
- HttpClientHandler
Valfritt. Http-klienthanteraren som används för att hantera http-transport.
- handlers
- DelegatingHandler[]
Valfritt. De delegerande hanterare som ska läggas till i http-klientpipelinen.
Undantag
Genereras när en obligatorisk parameter är null
Gäller för
AutomationClient(Uri, ServiceClientCredentials, DelegatingHandler[])
Initierar en ny instans av klassen 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())
Parametrar
- baseUri
- Uri
Valfritt. Tjänstens bas-URI.
- credentials
- ServiceClientCredentials
Krävs. Autentiseringsuppgifter som krävs för att klienten ska kunna ansluta till Azure.
- handlers
- DelegatingHandler[]
Valfritt. De delegerande hanterare som ska läggas till i http-klientpipelinen.
Undantag
Genereras när en obligatorisk parameter är null
Gäller för
AutomationClient(Uri, HttpClientHandler, DelegatingHandler[])
Initierar en ny instans av klassen 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())
Parametrar
- baseUri
- Uri
Valfritt. Tjänstens bas-URI.
- rootHandler
- HttpClientHandler
Valfritt. Http-klienthanteraren som används för att hantera http-transport.
- handlers
- DelegatingHandler[]
Valfritt. De delegerande hanterare som ska läggas till i http-klientpipelinen.
Undantag
Genereras när en obligatorisk parameter är null
Gäller för
AutomationClient(Uri, ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])
Initierar en ny instans av klassen 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())
Parametrar
- baseUri
- Uri
Valfritt. Tjänstens bas-URI.
- credentials
- ServiceClientCredentials
Krävs. Autentiseringsuppgifter som krävs för att klienten ska kunna ansluta till Azure.
- rootHandler
- HttpClientHandler
Valfritt. Http-klienthanteraren som används för att hantera http-transport.
- handlers
- DelegatingHandler[]
Valfritt. De delegerande hanterare som ska läggas till i http-klientpipelinen.
Undantag
Genereras när en obligatorisk parameter är null
Gäller för
Azure SDK for .NET