Partager via


WeightedAllocationWorkerSelectorAttachment Constructeur

Définition

Initialise une nouvelle instance de 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))

Paramètres

allocations
IEnumerable<WorkerWeightedAllocation>

Collection d’allocations pondérées basées sur le pourcentage.

Exceptions

allocations a la valeur null.

S’applique à