Share via


RejectOptions Class

Definition

Array of lock tokens for the corresponding received Cloud Events to be rejected.

public class RejectOptions : System.ClientModel.Primitives.IJsonModel<Azure.Messaging.EventGrid.Namespaces.RejectOptions>, System.ClientModel.Primitives.IPersistableModel<Azure.Messaging.EventGrid.Namespaces.RejectOptions>
type RejectOptions = class
    interface IJsonModel<RejectOptions>
    interface IPersistableModel<RejectOptions>
Public Class RejectOptions
Implements IJsonModel(Of RejectOptions), IPersistableModel(Of RejectOptions)
Inheritance
RejectOptions
Implements

Constructors

RejectOptions(IEnumerable<String>)

Initializes a new instance of RejectOptions.

Properties

LockTokens

Array of lock tokens.

Explicit Interface Implementations

IJsonModel<RejectOptions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RejectOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RejectOptions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RejectOptions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RejectOptions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to