Share via


WeightedAllocationWorkerSelectorAttachment Constructor

Definition

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.

Applies to