CreateWorkerOptions(String, Int32) Constructor
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.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET