Partilhar via


ResourceOperationError Class

Definition

These describe errors that occur at the resource level.

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

Properties

ErrorCode

Code for the error eg 404, 500.

ErrorDetails

Detailed message about the error.

Explicit Interface Implementations

IJsonModel<ResourceOperationError>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ResourceOperationError>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ResourceOperationError>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ResourceOperationError>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ResourceOperationError>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to