Udostępnij za pośrednictwem


RenewLocksResult Class

Definition

The result of the RenewLock operation.

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

Explicit Interface Implementations

IJsonModel<RenewLocksResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RenewLocksResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RenewLocksResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RenewLocksResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RenewLocksResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to