Condividi tramite


CancelExceptionAction Class

Definition

An action that marks a job as cancelled.

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

Constructors

CancelExceptionAction()

Initializes a new instance of CancelExceptionAction.

Properties

DispositionCode

Indicates the outcome of the job, populate this field with your own custom values.

Id

Unique Id of the exception action.

(Inherited from ExceptionAction)
Kind

The type discriminator describing a sub-type of ExceptionAction.

(Inherited from ExceptionAction)
Note

A note that will be appended to the jobs' Notes collection with the current timestamp.

Explicit Interface Implementations

IJsonModel<CancelExceptionAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CancelExceptionAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<ExceptionAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from ExceptionAction)
IPersistableModel<CancelExceptionAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CancelExceptionAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CancelExceptionAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<ExceptionAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from ExceptionAction)

Applies to