Udostępnij za pośrednictwem


QueueLengthExceptionTrigger Class

Definition

Trigger for an exception action on exceeding queue length.

public class QueueLengthExceptionTrigger : Azure.Communication.JobRouter.ExceptionTrigger
public class QueueLengthExceptionTrigger : Azure.Communication.JobRouter.ExceptionTrigger, System.ClientModel.Primitives.IJsonModel<Azure.Communication.JobRouter.QueueLengthExceptionTrigger>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.JobRouter.QueueLengthExceptionTrigger>
type QueueLengthExceptionTrigger = class
    inherit ExceptionTrigger
type QueueLengthExceptionTrigger = class
    inherit ExceptionTrigger
    interface IJsonModel<QueueLengthExceptionTrigger>
    interface IPersistableModel<QueueLengthExceptionTrigger>
Public Class QueueLengthExceptionTrigger
Inherits ExceptionTrigger
Public Class QueueLengthExceptionTrigger
Inherits ExceptionTrigger
Implements IJsonModel(Of QueueLengthExceptionTrigger), IPersistableModel(Of QueueLengthExceptionTrigger)
Inheritance
QueueLengthExceptionTrigger
Implements

Constructors

QueueLengthExceptionTrigger(Int32)

Initializes a new instance of QueueLengthExceptionTrigger.

Properties

Kind

The type discriminator describing a sub-type of ExceptionTrigger.

(Inherited from ExceptionTrigger)
Threshold

Threshold of number of jobs ahead in the queue to for this trigger to fire.

Explicit Interface Implementations

IJsonModel<ExceptionTrigger>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from ExceptionTrigger)
IJsonModel<ExceptionTrigger>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ExceptionTrigger)
IJsonModel<QueueLengthExceptionTrigger>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<QueueLengthExceptionTrigger>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ExceptionTrigger>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ExceptionTrigger)
IPersistableModel<ExceptionTrigger>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from ExceptionTrigger)
IPersistableModel<ExceptionTrigger>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ExceptionTrigger)
IPersistableModel<QueueLengthExceptionTrigger>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<QueueLengthExceptionTrigger>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<QueueLengthExceptionTrigger>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to