Share via


ReleaseResult Class

Definition

The result of the Release operation.

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

Explicit Interface Implementations

IJsonModel<ReleaseResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ReleaseResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ReleaseResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ReleaseResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ReleaseResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to