ArmDataMigrationModelFactory.ReportableException Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- stackTrace
- String
Stack trace.
Returns
A new ReportableException instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET