ConfidentialLedgerClient Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ConfidentialLedgerClient() |
Initializes a new instance of ConfidentialLedgerClient for mocking. |
ConfidentialLedgerClient(Uri, TokenCredential) |
Initializes a new instance of ConfidentialLedgerClient. |
ConfidentialLedgerClient(Uri, X509Certificate2) |
Initializes a new instance of ConfidentialLedgerClient. |
ConfidentialLedgerClient(Uri, TokenCredential, ConfidentialLedgerClientOptions) |
Initializes a new instance of ConfidentialLedgerClient. |
ConfidentialLedgerClient(Uri, X509Certificate2, ConfidentialLedgerClientOptions) |
Initializes a new instance of ConfidentialLedgerClient. |
ConfidentialLedgerClient()
- Source:
- ConfidentialLedgerClient.cs
Initializes a new instance of ConfidentialLedgerClient for mocking.
protected ConfidentialLedgerClient ();
Protected Sub New ()
Applies to
ConfidentialLedgerClient(Uri, TokenCredential)
- Source:
- ConfidentialLedgerClient.cs
Initializes a new instance of ConfidentialLedgerClient.
public ConfidentialLedgerClient (Uri ledgerEndpoint, Azure.Core.TokenCredential credential);
new Azure.Security.ConfidentialLedger.ConfidentialLedgerClient : Uri * Azure.Core.TokenCredential -> Azure.Security.ConfidentialLedger.ConfidentialLedgerClient
Public Sub New (ledgerEndpoint As Uri, credential As TokenCredential)
Parameters
- ledgerEndpoint
- Uri
The Confidential Ledger URL, for example https://contoso.confidentialledger.azure.com.
- credential
- TokenCredential
A credential used to authenticate to an Azure Service.
Exceptions
ledgerUri
or credential
is null.
Applies to
ConfidentialLedgerClient(Uri, X509Certificate2)
- Source:
- ConfidentialLedgerClient.cs
Initializes a new instance of ConfidentialLedgerClient.
public ConfidentialLedgerClient (Uri ledgerEndpoint, System.Security.Cryptography.X509Certificates.X509Certificate2 clientCertificate);
new Azure.Security.ConfidentialLedger.ConfidentialLedgerClient : Uri * System.Security.Cryptography.X509Certificates.X509Certificate2 -> Azure.Security.ConfidentialLedger.ConfidentialLedgerClient
Public Sub New (ledgerEndpoint As Uri, clientCertificate As X509Certificate2)
Parameters
- ledgerEndpoint
- Uri
The Confidential Ledger URL, for example https://contoso.confidentialledger.azure.com.
- clientCertificate
- X509Certificate2
A X509Certificate2 used to authenticate to an Azure Service.
Applies to
ConfidentialLedgerClient(Uri, TokenCredential, ConfidentialLedgerClientOptions)
- Source:
- ConfidentialLedgerClient.cs
Initializes a new instance of ConfidentialLedgerClient.
public ConfidentialLedgerClient (Uri ledgerEndpoint, Azure.Core.TokenCredential credential, Azure.Security.ConfidentialLedger.ConfidentialLedgerClientOptions options);
new Azure.Security.ConfidentialLedger.ConfidentialLedgerClient : Uri * Azure.Core.TokenCredential * Azure.Security.ConfidentialLedger.ConfidentialLedgerClientOptions -> Azure.Security.ConfidentialLedger.ConfidentialLedgerClient
Public Sub New (ledgerEndpoint As Uri, credential As TokenCredential, options As ConfidentialLedgerClientOptions)
Parameters
- ledgerEndpoint
- Uri
The Confidential Ledger URL, for example https://contoso.confidentialledger.azure.com.
- credential
- TokenCredential
A credential used to authenticate to an Azure Service.
- options
- ConfidentialLedgerClientOptions
The options for configuring the client.
Applies to
ConfidentialLedgerClient(Uri, X509Certificate2, ConfidentialLedgerClientOptions)
- Source:
- ConfidentialLedgerClient.cs
Initializes a new instance of ConfidentialLedgerClient.
public ConfidentialLedgerClient (Uri ledgerEndpoint, System.Security.Cryptography.X509Certificates.X509Certificate2 clientCertificate, Azure.Security.ConfidentialLedger.ConfidentialLedgerClientOptions options);
new Azure.Security.ConfidentialLedger.ConfidentialLedgerClient : Uri * System.Security.Cryptography.X509Certificates.X509Certificate2 * Azure.Security.ConfidentialLedger.ConfidentialLedgerClientOptions -> Azure.Security.ConfidentialLedger.ConfidentialLedgerClient
Public Sub New (ledgerEndpoint As Uri, clientCertificate As X509Certificate2, options As ConfidentialLedgerClientOptions)
Parameters
- ledgerEndpoint
- Uri
The Confidential Ledger URL, for example https://contoso.confidentialledger.azure.com.
- clientCertificate
- X509Certificate2
A X509Certificate2 used to authenticate to an Azure Service.
- options
- ConfidentialLedgerClientOptions
The options for configuring the client.
Applies to
Azure SDK for .NET