ArmDataMigrationModelFactory.ODataError Method

Definition

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.

Applies to