Delen via


RouterWorkerStateSelector Struct

Definition

Enums used to filters workers by state.

public readonly struct RouterWorkerStateSelector : IEquatable<Azure.Communication.JobRouter.RouterWorkerStateSelector>
type RouterWorkerStateSelector = struct
Public Structure RouterWorkerStateSelector
Implements IEquatable(Of RouterWorkerStateSelector)
Inheritance
RouterWorkerStateSelector
Implements

Constructors

RouterWorkerStateSelector(String)

Initializes a new instance of RouterWorkerStateSelector.

Properties

Active

Worker is active and available to take offers.

All

Worker is active or draining or inactive.

Draining

Worker is not active, if there are existing offers they are being revoked. No new offers are sent.

Inactive

Worker is not active. No new offers are sent.

Methods

Equals(RouterWorkerStateSelector)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(RouterWorkerStateSelector, RouterWorkerStateSelector)

Determines if two RouterWorkerStateSelector values are the same.

Implicit(String to RouterWorkerStateSelector)

Converts a string to a RouterWorkerStateSelector.

Inequality(RouterWorkerStateSelector, RouterWorkerStateSelector)

Determines if two RouterWorkerStateSelector values are not the same.

Applies to