WeightedAllocationWorkerSelectorAttachment 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 WeightedAllocationWorkerSelectorAttachment.
public WeightedAllocationWorkerSelectorAttachment (System.Collections.Generic.IEnumerable<Azure.Communication.JobRouter.WorkerWeightedAllocation> allocations);
new Azure.Communication.JobRouter.WeightedAllocationWorkerSelectorAttachment : seq<Azure.Communication.JobRouter.WorkerWeightedAllocation> -> Azure.Communication.JobRouter.WeightedAllocationWorkerSelectorAttachment
Public Sub New (allocations As IEnumerable(Of WorkerWeightedAllocation))
Parameters
- allocations
- IEnumerable<WorkerWeightedAllocation>
A collection of percentage based weighted allocations.
Exceptions
allocations
is null.