Udostępnij za pośrednictwem


SelfHelpError Class

Definition

Error definition.

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

Properties

Code

Service specific error code which serves as the substatus for the HTTP error code.

Details

An array of additional nested error response info objects, as described by this contract.

ErrorType

Service specific error type which serves as additional context for the error herein.

Message

Description of the error.

Explicit Interface Implementations

IJsonModel<SelfHelpError>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SelfHelpError>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SelfHelpError>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SelfHelpError>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SelfHelpError>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to