ArmDataMigrationModelFactory.ReportableException Method

Definition

Initializes a new instance of ReportableException.

public static Azure.ResourceManager.DataMigration.Models.ReportableException ReportableException (string message = default, string actionableMessage = default, string filePath = default, string lineNumber = default, int? hResult = default, string stackTrace = default);
static member ReportableException : string * string * string * string * Nullable<int> * string -> Azure.ResourceManager.DataMigration.Models.ReportableException
Public Shared Function ReportableException (Optional message As String = Nothing, Optional actionableMessage As String = Nothing, Optional filePath As String = Nothing, Optional lineNumber As String = Nothing, Optional hResult As Nullable(Of Integer) = Nothing, Optional stackTrace As String = Nothing) As ReportableException

Parameters

message
String

Error message.

actionableMessage
String

Actionable steps for this exception.

filePath
String

The path to the file where exception occurred.

lineNumber
String

The line number where exception occurred.

hResult
Nullable<Int32>

Coded numerical value that is assigned to a specific exception.

stackTrace
String

Stack trace.

Returns

A new ReportableException instance for mocking.

Applies to