Condividi tramite


WaitTimeExceptionTrigger Class

Definition

Trigger for an exception action on exceeding wait time.

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

Constructors

WaitTimeExceptionTrigger(TimeSpan)

Initializes a new instance of WaitTimeExceptionTrigger.

Properties

Kind

The type discriminator describing a sub-type of ExceptionTrigger.

(Inherited from ExceptionTrigger)
Threshold

Threshold for wait time for this trigger.

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<WaitTimeExceptionTrigger>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<WaitTimeExceptionTrigger>.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<WaitTimeExceptionTrigger>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WaitTimeExceptionTrigger>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WaitTimeExceptionTrigger>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to