Share via


AcknowledgeResult Class

Definition

The result of the Acknowledge operation.

public class AcknowledgeResult : System.ClientModel.Primitives.IJsonModel<Azure.Messaging.EventGrid.Namespaces.AcknowledgeResult>, System.ClientModel.Primitives.IPersistableModel<Azure.Messaging.EventGrid.Namespaces.AcknowledgeResult>
public class AcknowledgeResult
type AcknowledgeResult = class
    interface IJsonModel<AcknowledgeResult>
    interface IPersistableModel<AcknowledgeResult>
type AcknowledgeResult = class
Public Class AcknowledgeResult
Implements IJsonModel(Of AcknowledgeResult), IPersistableModel(Of AcknowledgeResult)
Public Class AcknowledgeResult
Inheritance
AcknowledgeResult
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 acknowledged cloud events.

Explicit Interface Implementations

IJsonModel<AcknowledgeResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AcknowledgeResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AcknowledgeResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AcknowledgeResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AcknowledgeResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to