다음을 통해 공유


ExchangePolicyError Class

Definition

error details.

public class ExchangePolicyError : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Reservations.Models.ExchangePolicyError>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Reservations.Models.ExchangePolicyError>
public class ExchangePolicyError
type ExchangePolicyError = class
    interface IJsonModel<ExchangePolicyError>
    interface IPersistableModel<ExchangePolicyError>
type ExchangePolicyError = class
Public Class ExchangePolicyError
Implements IJsonModel(Of ExchangePolicyError), IPersistableModel(Of ExchangePolicyError)
Public Class ExchangePolicyError
Inheritance
ExchangePolicyError
Implements

Properties

Code

Gets the code.

Message

Gets the message.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ExchangePolicyError>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ExchangePolicyError>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ExchangePolicyError>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ExchangePolicyError>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ExchangePolicyError>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to