Share via


AutomationModuleErrorInfo Class

Definition

Definition of the module error info type.

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

Constructors

Name Description
AutomationModuleErrorInfo()

Initializes a new instance of AutomationModuleErrorInfo.

Properties

Name Description
Code

Gets or sets the error code.

Message

Gets or sets the error message.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<AutomationModuleErrorInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AutomationModuleErrorInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AutomationModuleErrorInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AutomationModuleErrorInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AutomationModuleErrorInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to