Dela via


CreateWorkerOptions(String, Int32) Constructor

Definition

Initializes a new instance of CreateWorkerOptions.

public CreateWorkerOptions (string workerId, int capacity);
new Azure.Communication.JobRouter.CreateWorkerOptions : string * int -> Azure.Communication.JobRouter.CreateWorkerOptions
Public Sub New (workerId As String, capacity As Integer)

Parameters

workerId
String

Id of a worker.

capacity
Int32

The total capacity score this worker has to manage multiple concurrent jobs.

Exceptions

workerId is null.

Applies to