Delen via


ReportableException Class

Definition

Exception object for all custom exceptions.

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

Properties

ActionableMessage

Actionable steps for this exception.

FilePath

The path to the file where exception occurred.

HResult

Coded numerical value that is assigned to a specific exception.

LineNumber

The line number where exception occurred.

Message

Error message.

StackTrace

Stack trace.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ReportableException>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ReportableException>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ReportableException>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ReportableException>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ReportableException>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to