Share via


RouterWorkerState Struct

Definition

Enums for worker states.

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

Constructors

RouterWorkerState(String)

Initializes a new instance of RouterWorkerState.

Properties

Active

Worker is active and available to take offers.

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(RouterWorkerState)

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(RouterWorkerState, RouterWorkerState)

Determines if two RouterWorkerState values are the same.

Implicit(String to RouterWorkerState)

Converts a string to a RouterWorkerState.

Inequality(RouterWorkerState, RouterWorkerState)

Determines if two RouterWorkerState values are not the same.

Applies to