BillingManagementClient Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
BillingManagementClient(DelegatingHandler[])
Inicjuje nowe wystąpienie klasy BillingManagementClient.
protected BillingManagementClient(params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.Billing.BillingManagementClient : System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.Billing.BillingManagementClient
Protected Sub New (ParamArray handlers As DelegatingHandler())
Parametry
- handlers
- DelegatingHandler[]
Opcjonalny. Delegowanie procedur obsługi w celu dodania do potoku klienta http.
Dotyczy
BillingManagementClient(Uri, HttpClientHandler, DelegatingHandler[])
Inicjuje nowe wystąpienie klasy BillingManagementClient.
protected BillingManagementClient(Uri baseUri, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.Billing.BillingManagementClient : Uri * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.Billing.BillingManagementClient
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. Program obsługi klienta HTTP używany 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
BillingManagementClient(Uri, ServiceClientCredentials, DelegatingHandler[])
Inicjuje nowe wystąpienie klasy BillingManagementClient.
public BillingManagementClient(Uri baseUri, Microsoft.Rest.ServiceClientCredentials credentials, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.Billing.BillingManagementClient : Uri * Microsoft.Rest.ServiceClientCredentials * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.Billing.BillingManagementClient
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 wymagane do nawiązania połączenia z platformą Azure przez klienta.
- 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
BillingManagementClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])
Inicjuje nowe wystąpienie klasy BillingManagementClient.
public BillingManagementClient(Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.Billing.BillingManagementClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.Billing.BillingManagementClient
Public Sub New (credentials As ServiceClientCredentials, rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())
Parametry
- credentials
- ServiceClientCredentials
Wymagane. Poświadczenia wymagane do nawiązania połączenia z platformą Azure przez klienta.
- rootHandler
- HttpClientHandler
Opcjonalny. Program obsługi klienta HTTP używany 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
BillingManagementClient(ServiceClientCredentials, HttpClient, Boolean)
Inicjuje nowe wystąpienie klasy BillingManagementClient.
public BillingManagementClient(Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClient httpClient, bool disposeHttpClient);
new Microsoft.Azure.Management.Billing.BillingManagementClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClient * bool -> Microsoft.Azure.Management.Billing.BillingManagementClient
Public Sub New (credentials As ServiceClientCredentials, httpClient As HttpClient, disposeHttpClient As Boolean)
Parametry
- credentials
- ServiceClientCredentials
Wymagane. Poświadczenia wymagane do nawiązania połączenia z platformą Azure przez klienta.
- httpClient
- HttpClient
Element HttpClient do użycia
- disposeHttpClient
- Boolean
Prawda: program usunie podany element httpClient podczas wywoływania elementu BillingManagementClient.Dispose(). Fałsz: nie spowoduje usunięcia dostarczonego obiektu httpClient
Wyjątki
Zgłaszany, gdy wymagany parametr ma wartość null
Dotyczy
BillingManagementClient(Uri, ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])
Inicjuje nowe wystąpienie klasy BillingManagementClient.
public BillingManagementClient(Uri baseUri, Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.Billing.BillingManagementClient : Uri * Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.Billing.BillingManagementClient
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 wymagane do nawiązania połączenia z platformą Azure przez klienta.
- rootHandler
- HttpClientHandler
Opcjonalny. Program obsługi klienta HTTP używany 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
BillingManagementClient(HttpClientHandler, DelegatingHandler[])
Inicjuje nowe wystąpienie klasy BillingManagementClient.
protected BillingManagementClient(System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.Billing.BillingManagementClient : System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.Billing.BillingManagementClient
Protected Sub New (rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())
Parametry
- rootHandler
- HttpClientHandler
Opcjonalny. Program obsługi klienta HTTP używany do obsługi transportu http.
- handlers
- DelegatingHandler[]
Opcjonalny. Delegowanie procedur obsługi w celu dodania do potoku klienta http.
Dotyczy
BillingManagementClient(HttpClient, Boolean)
Inicjuje nowe wystąpienie klasy BillingManagementClient.
protected BillingManagementClient(System.Net.Http.HttpClient httpClient, bool disposeHttpClient);
new Microsoft.Azure.Management.Billing.BillingManagementClient : System.Net.Http.HttpClient * bool -> Microsoft.Azure.Management.Billing.BillingManagementClient
Protected Sub New (httpClient As HttpClient, disposeHttpClient As Boolean)
Parametry
- httpClient
- HttpClient
Element HttpClient do użycia
- disposeHttpClient
- Boolean
Prawda: program usunie podany element httpClient podczas wywoływania elementu BillingManagementClient.Dispose(). Fałsz: nie spowoduje usunięcia dostarczonego obiektu httpClient
Dotyczy
BillingManagementClient(ServiceClientCredentials, DelegatingHandler[])
Inicjuje nowe wystąpienie klasy BillingManagementClient.
public BillingManagementClient(Microsoft.Rest.ServiceClientCredentials credentials, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.Billing.BillingManagementClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.Billing.BillingManagementClient
Public Sub New (credentials As ServiceClientCredentials, ParamArray handlers As DelegatingHandler())
Parametry
- credentials
- ServiceClientCredentials
Wymagane. Poświadczenia wymagane do nawiązania połączenia z platformą Azure przez klienta.
- 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
BillingManagementClient(Uri, DelegatingHandler[])
Inicjuje nowe wystąpienie klasy BillingManagementClient.
protected BillingManagementClient(Uri baseUri, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.Management.Billing.BillingManagementClient : Uri * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.Management.Billing.BillingManagementClient
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
Azure SDK for .NET