Partager via


DevCenterClient Constructors

Definition

Overloads

DevCenterClient()

Initializes a new instance of DevCenterClient for mocking.

DevCenterClient(Uri, TokenCredential)

Initializes a new instance of DevCenterClient.

DevCenterClient(Uri, TokenCredential, AzureDeveloperDevCenterClientOptions)

Initializes a new instance of DevCenterClient.

DevCenterClient(Uri, TokenCredential, DevCenterClientOptions)

Initializes a new instance of DevCenterClient.

DevCenterClient()

Source:
DevCenterClient.cs
Source:
DevCenterClient.cs

Initializes a new instance of DevCenterClient for mocking.

protected DevCenterClient ();
Protected Sub New ()

Applies to

DevCenterClient(Uri, TokenCredential)

Source:
DevCenterClient.cs
Source:
DevCenterClient.cs

Initializes a new instance of DevCenterClient.

public DevCenterClient (Uri endpoint, Azure.Core.TokenCredential credential);
new Azure.Developer.DevCenter.DevCenterClient : Uri * Azure.Core.TokenCredential -> Azure.Developer.DevCenter.DevCenterClient
Public Sub New (endpoint As Uri, credential As TokenCredential)

Parameters

endpoint
Uri

The DevCenter-specific URI to operate on.

credential
TokenCredential

A credential used to authenticate to an Azure Service.

Exceptions

endpoint or credential is null.

Applies to

DevCenterClient(Uri, TokenCredential, AzureDeveloperDevCenterClientOptions)

Source:
DevCenterClient.cs

Initializes a new instance of DevCenterClient.

public DevCenterClient (Uri endpoint, Azure.Core.TokenCredential credential, Azure.Developer.DevCenter.AzureDeveloperDevCenterClientOptions options);
new Azure.Developer.DevCenter.DevCenterClient : Uri * Azure.Core.TokenCredential * Azure.Developer.DevCenter.AzureDeveloperDevCenterClientOptions -> Azure.Developer.DevCenter.DevCenterClient
Public Sub New (endpoint As Uri, credential As TokenCredential, options As AzureDeveloperDevCenterClientOptions)

Parameters

endpoint
Uri

The DevCenter-specific URI to operate on.

credential
TokenCredential

A credential used to authenticate to an Azure Service.

options
AzureDeveloperDevCenterClientOptions

The options for configuring the client.

Exceptions

endpoint or credential is null.

Applies to

DevCenterClient(Uri, TokenCredential, DevCenterClientOptions)

Source:
DevCenterClient.cs

Initializes a new instance of DevCenterClient.

public DevCenterClient (Uri endpoint, Azure.Core.TokenCredential credential, Azure.Developer.DevCenter.DevCenterClientOptions options);
new Azure.Developer.DevCenter.DevCenterClient : Uri * Azure.Core.TokenCredential * Azure.Developer.DevCenter.DevCenterClientOptions -> Azure.Developer.DevCenter.DevCenterClient
Public Sub New (endpoint As Uri, credential As TokenCredential, options As DevCenterClientOptions)

Parameters

endpoint
Uri

The DevCenter-specific URI to operate on.

credential
TokenCredential

A credential used to authenticate to an Azure Service.

options
DevCenterClientOptions

The options for configuring the client.

Exceptions

endpoint or credential is null.

Applies to