JobRouterClient Constructors

Definition

Overloads

JobRouterClient()

Initializes a new instance of JobRouterClient for mocking.

JobRouterClient(String, JobRouterClientOptions)

Initializes a new instance of JobRouterClient.

JobRouterClient(Uri, AzureKeyCredential, JobRouterClientOptions)

Initializes a new instance of JobRouterClient.

JobRouterClient(Uri, TokenCredential, JobRouterClientOptions)

Initializes a new instance of JobRouterClient.

JobRouterClient()

Source:
JobRouterClient.cs
Source:
JobRouterClient.cs

Initializes a new instance of JobRouterClient for mocking.

protected JobRouterClient ();
Protected Sub New ()

Applies to

JobRouterClient(String, JobRouterClientOptions)

Source:
JobRouterClient.cs
Source:
JobRouterClient.cs

Initializes a new instance of JobRouterClient.

public JobRouterClient (string connectionString, Azure.Communication.JobRouter.JobRouterClientOptions options = default);
new Azure.Communication.JobRouter.JobRouterClient : string * Azure.Communication.JobRouter.JobRouterClientOptions -> Azure.Communication.JobRouter.JobRouterClient
Public Sub New (connectionString As String, Optional options As JobRouterClientOptions = Nothing)

Parameters

connectionString
String

Connection string acquired from your Communication resource.

options
JobRouterClientOptions

Client option exposing Diagnostics, Retry, Transport, etc.

Applies to

JobRouterClient(Uri, AzureKeyCredential, JobRouterClientOptions)

Source:
JobRouterClient.cs
Source:
JobRouterClient.cs

Initializes a new instance of JobRouterClient.

public JobRouterClient (Uri endpoint, Azure.AzureKeyCredential credential, Azure.Communication.JobRouter.JobRouterClientOptions options = default);
new Azure.Communication.JobRouter.JobRouterClient : Uri * Azure.AzureKeyCredential * Azure.Communication.JobRouter.JobRouterClientOptions -> Azure.Communication.JobRouter.JobRouterClient
Public Sub New (endpoint As Uri, credential As AzureKeyCredential, Optional options As JobRouterClientOptions = Nothing)

Parameters

endpoint
Uri

The Uri endpoint of your Communication resource.

credential
AzureKeyCredential

The AzureKeyCredential used to authenticate requests.

options
JobRouterClientOptions

Client option exposing Diagnostics, Retry, Transport, etc.

Applies to

JobRouterClient(Uri, TokenCredential, JobRouterClientOptions)

Source:
JobRouterClient.cs
Source:
JobRouterClient.cs

Initializes a new instance of JobRouterClient.

public JobRouterClient (Uri endpoint, Azure.Core.TokenCredential credential, Azure.Communication.JobRouter.JobRouterClientOptions options = default);
new Azure.Communication.JobRouter.JobRouterClient : Uri * Azure.Core.TokenCredential * Azure.Communication.JobRouter.JobRouterClientOptions -> Azure.Communication.JobRouter.JobRouterClient
Public Sub New (endpoint As Uri, credential As TokenCredential, Optional options As JobRouterClientOptions = Nothing)

Parameters

endpoint
Uri

The Uri endpoint of your Communication resource.

credential
TokenCredential

The TokenCredential used to authenticate requests, such as DefaultAzureCredential.

options
JobRouterClientOptions

Client option exposing Diagnostics, Retry, Transport, etc.

Applies to