Share via


RejectResult Class

Definition

The result of the Reject operation.

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

Properties

FailedLockTokens

Array of FailedLockToken for failed cloud events. Each FailedLockToken includes the lock token along with the related error information (namely, the error code and description).

SucceededLockTokens

Array of lock tokens for the successfully rejected cloud events.

Methods

JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Operators

Explicit(Response to RejectResult)
Implicit(RejectResult to RequestContent)

Explicit Interface Implementations

IJsonModel<RejectResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RejectResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RejectResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RejectResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

<param name="options">The ModelReaderWriterOptions to use.</param>
IPersistableModel<RejectResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to