ArmDataMigrationModelFactory.ODataError 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 ODataError.
public static Azure.ResourceManager.DataMigration.Models.ODataError ODataError (string code = default, string message = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataMigration.Models.ODataError> details = default);
static member ODataError : string * string * seq<Azure.ResourceManager.DataMigration.Models.ODataError> -> Azure.ResourceManager.DataMigration.Models.ODataError
Public Shared Function ODataError (Optional code As String = Nothing, Optional message As String = Nothing, Optional details As IEnumerable(Of ODataError) = Nothing) As ODataError
Parameters
- code
- String
The machine-readable description of the error, such as 'InvalidRequest' or 'InternalServerError'.
- message
- String
The human-readable description of the error.
- details
- IEnumerable<ODataError>
Inner errors that caused this error.
Returns
A new ODataError instance for mocking.