Auf Englisch lesen

Freigeben über


ResourceOperationError Class

Definition

These describe errors that occur at the resource level.

C#
public class ResourceOperationError : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ComputeSchedule.Models.ResourceOperationError>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ComputeSchedule.Models.ResourceOperationError>
Inheritance
ResourceOperationError
Implements

Properties

ErrorCode

Code for the error eg 404, 500.

ErrorDetails

Detailed message about the error.

Methods

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

Produkt Versionen
Azure SDK for .NET Latest, Preview