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>
public class RejectResult
type RejectResult = class
    interface IJsonModel<RejectResult>
    interface IPersistableModel<RejectResult>
type RejectResult = class
Public Class RejectResult
Implements IJsonModel(Of RejectResult), IPersistableModel(Of RejectResult)
Public Class 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.

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.

IPersistableModel<RejectResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to