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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET