다음을 통해 공유


DeadLetterDestination Class

Definition

Information about the dead letter destination for an event subscription. To configure a deadletter destination, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class. Currently, StorageBlobDeadLetterDestination is the only class that derives from this class. Please note DeadLetterDestination is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include StorageBlobDeadLetterDestination.

public abstract class DeadLetterDestination
[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.EventGrid.Models.UnknownDeadLetterDestination))]
public abstract class DeadLetterDestination : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.EventGrid.Models.DeadLetterDestination>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.EventGrid.Models.DeadLetterDestination>
type DeadLetterDestination = class
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.EventGrid.Models.UnknownDeadLetterDestination))>]
type DeadLetterDestination = class
    interface IJsonModel<DeadLetterDestination>
    interface IPersistableModel<DeadLetterDestination>
Public MustInherit Class DeadLetterDestination
Public MustInherit Class DeadLetterDestination
Implements IJsonModel(Of DeadLetterDestination), IPersistableModel(Of DeadLetterDestination)
Inheritance
DeadLetterDestination
Derived
Attributes
Implements

Constructors

DeadLetterDestination()

Initializes a new instance of DeadLetterDestination.

Explicit Interface Implementations

IJsonModel<DeadLetterDestination>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DeadLetterDestination>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DeadLetterDestination>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DeadLetterDestination>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DeadLetterDestination>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to