Share via


ReleaseOptions Class

Definition

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

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

Constructors

ReleaseOptions(IEnumerable<String>)

Initializes a new instance of ReleaseOptions.

Properties

LockTokens

Array of lock tokens.

Explicit Interface Implementations

IJsonModel<ReleaseOptions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ReleaseOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ReleaseOptions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ReleaseOptions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ReleaseOptions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to