Delen via


ErrorFieldContract Class

Definition

Error Field contract.

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

Constructors

ErrorFieldContract()

Initializes a new instance of ErrorFieldContract.

Properties

Code

Property level error code.

Message

Human-readable representation of property-level error.

Target

Property name.

Explicit Interface Implementations

IJsonModel<ErrorFieldContract>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ErrorFieldContract>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ErrorFieldContract>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ErrorFieldContract>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ErrorFieldContract>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to