你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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