Partilhar via


KeyVaultClient Construtores

Definição

Sobrecargas

KeyVaultClient(DelegatingHandler[])

Inicializa uma nova instância da classe KeyVaultClient.

KeyVaultClient(KeyVaultClient+AuthenticationCallback, DelegatingHandler[])

Construtor

KeyVaultClient(KeyVaultClient+AuthenticationCallback, HttpClient)

Construtor

KeyVaultClient(KeyVaultCredential, HttpClient)

Construtor

KeyVaultClient(ServiceClientCredentials, DelegatingHandler[])

Inicializa uma nova instância da classe KeyVaultClient.

KeyVaultClient(HttpClientHandler, DelegatingHandler[])

Inicializa uma nova instância da classe KeyVaultClient.

KeyVaultClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Inicializa uma nova instância da classe KeyVaultClient.

KeyVaultClient(DelegatingHandler[])

Origem:
KeyVaultClient.cs

Inicializa uma nova instância da classe KeyVaultClient.

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

Parâmetros

handlers
DelegatingHandler[]

Opcional. Os manipuladores de delegação a serem adicionados ao pipeline do cliente http.

Aplica-se a

KeyVaultClient(KeyVaultClient+AuthenticationCallback, DelegatingHandler[])

Origem:
KeyVaultClient.cs

Construtor

public KeyVaultClient (Microsoft.Azure.KeyVault.KeyVaultClient.AuthenticationCallback authenticationCallback, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.KeyVault.KeyVaultClient : Microsoft.Azure.KeyVault.KeyVaultClient.AuthenticationCallback * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.KeyVault.KeyVaultClient
Public Sub New (authenticationCallback As KeyVaultClient.AuthenticationCallback, ParamArray handlers As DelegatingHandler())

Parâmetros

authenticationCallback
KeyVaultClient.AuthenticationCallback

O retorno de chamada de autenticação

handlers
DelegatingHandler[]

Opcional. Os manipuladores de delegação a serem adicionados ao pipeline do cliente http.

Aplica-se a

KeyVaultClient(KeyVaultClient+AuthenticationCallback, HttpClient)

Origem:
KeyVaultClient.cs

Construtor

public KeyVaultClient (Microsoft.Azure.KeyVault.KeyVaultClient.AuthenticationCallback authenticationCallback, System.Net.Http.HttpClient httpClient);
new Microsoft.Azure.KeyVault.KeyVaultClient : Microsoft.Azure.KeyVault.KeyVaultClient.AuthenticationCallback * System.Net.Http.HttpClient -> Microsoft.Azure.KeyVault.KeyVaultClient
Public Sub New (authenticationCallback As KeyVaultClient.AuthenticationCallback, httpClient As HttpClient)

Parâmetros

authenticationCallback
KeyVaultClient.AuthenticationCallback

O retorno de chamada de autenticação

httpClient
HttpClient

Cliente HTTP personalizado

Aplica-se a

KeyVaultClient(KeyVaultCredential, HttpClient)

Origem:
KeyVaultClient.cs

Construtor

public KeyVaultClient (Microsoft.Azure.KeyVault.KeyVaultCredential credential, System.Net.Http.HttpClient httpClient);
new Microsoft.Azure.KeyVault.KeyVaultClient : Microsoft.Azure.KeyVault.KeyVaultCredential * System.Net.Http.HttpClient -> Microsoft.Azure.KeyVault.KeyVaultClient
Public Sub New (credential As KeyVaultCredential, httpClient As HttpClient)

Parâmetros

credential
KeyVaultCredential

Credencial para operações do cofre de chaves

httpClient
HttpClient

Cliente HTTP personalizado

Aplica-se a

KeyVaultClient(ServiceClientCredentials, DelegatingHandler[])

Origem:
KeyVaultClient.cs

Inicializa uma nova instância da classe KeyVaultClient.

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

Parâmetros

credentials
ServiceClientCredentials

Obrigatórios. Credenciais necessárias para que o cliente se conecte ao Azure.

handlers
DelegatingHandler[]

Opcional. Os manipuladores de delegação a serem adicionados ao pipeline do cliente http.

Exceções

Gerado quando um parâmetro necessário é nulo

Aplica-se a

KeyVaultClient(HttpClientHandler, DelegatingHandler[])

Origem:
KeyVaultClient.cs

Inicializa uma nova instância da classe KeyVaultClient.

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

Parâmetros

rootHandler
HttpClientHandler

Opcional. O manipulador de cliente http usado para manipular o transporte http.

handlers
DelegatingHandler[]

Opcional. Os manipuladores de delegação a serem adicionados ao pipeline do cliente http.

Aplica-se a

KeyVaultClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Origem:
KeyVaultClient.cs

Inicializa uma nova instância da classe KeyVaultClient.

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

Parâmetros

credentials
ServiceClientCredentials

Obrigatórios. Credenciais necessárias para que o cliente se conecte ao Azure.

rootHandler
HttpClientHandler

Opcional. O manipulador de cliente http usado para manipular o transporte http.

handlers
DelegatingHandler[]

Opcional. Os manipuladores de delegação a serem adicionados ao pipeline do cliente http.

Exceções

Gerado quando um parâmetro necessário é nulo

Aplica-se a