Udostępnij za pośrednictwem


KeyVaultClient Constructors

Definition

Overloads

KeyVaultClient(DelegatingHandler[])

Initializes a new instance of the KeyVaultClient class.

KeyVaultClient(KeyVaultClient+AuthenticationCallback, DelegatingHandler[])

Constructor

KeyVaultClient(KeyVaultClient+AuthenticationCallback, HttpClient)

Constructor

KeyVaultClient(KeyVaultCredential, HttpClient)

Constructor

KeyVaultClient(ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the KeyVaultClient class.

KeyVaultClient(HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the KeyVaultClient class.

KeyVaultClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the KeyVaultClient class.

KeyVaultClient(DelegatingHandler[])

Source:
KeyVaultClient.cs

Initializes a new instance of the KeyVaultClient class.

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())

Parameters

handlers
DelegatingHandler[]

Optional. The delegating handlers to add to the http client pipeline.

Applies to

KeyVaultClient(KeyVaultClient+AuthenticationCallback, DelegatingHandler[])

Source:
KeyVaultClient.cs

Constructor

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())

Parameters

authenticationCallback
KeyVaultClient.AuthenticationCallback

The authentication callback

handlers
DelegatingHandler[]

Optional. The delegating handlers to add to the http client pipeline.

Applies to

KeyVaultClient(KeyVaultClient+AuthenticationCallback, HttpClient)

Source:
KeyVaultClient.cs

Constructor

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)

Parameters

authenticationCallback
KeyVaultClient.AuthenticationCallback

The authentication callback

httpClient
HttpClient

Customized HTTP client

Applies to

KeyVaultClient(KeyVaultCredential, HttpClient)

Source:
KeyVaultClient.cs

Constructor

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)

Parameters

credential
KeyVaultCredential

Credential for key vault operations

httpClient
HttpClient

Customized HTTP client

Applies to

KeyVaultClient(ServiceClientCredentials, DelegatingHandler[])

Source:
KeyVaultClient.cs

Initializes a new instance of the KeyVaultClient class.

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())

Parameters

credentials
ServiceClientCredentials

Required. Credentials needed for the client to connect to Azure.

handlers
DelegatingHandler[]

Optional. The delegating handlers to add to the http client pipeline.

Exceptions

Thrown when a required parameter is null

Applies to

KeyVaultClient(HttpClientHandler, DelegatingHandler[])

Source:
KeyVaultClient.cs

Initializes a new instance of the KeyVaultClient class.

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())

Parameters

rootHandler
HttpClientHandler

Optional. The http client handler used to handle http transport.

handlers
DelegatingHandler[]

Optional. The delegating handlers to add to the http client pipeline.

Applies to

KeyVaultClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Source:
KeyVaultClient.cs

Initializes a new instance of the KeyVaultClient class.

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())

Parameters

credentials
ServiceClientCredentials

Required. Credentials needed for the client to connect to Azure.

rootHandler
HttpClientHandler

Optional. The http client handler used to handle http transport.

handlers
DelegatingHandler[]

Optional. The delegating handlers to add to the http client pipeline.

Exceptions

Thrown when a required parameter is null

Applies to