RouterWorkerState Struct
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.
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
| Name | Description |
|---|---|
| RouterWorkerState(String) |
Initializes a new instance of RouterWorkerState. |
Properties
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| 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. |