Share via


ArmDataMigrationModelFactory.ErrorInfo(String, String) Method

Definition

Initializes a new instance of ErrorInfo.

public static Azure.ResourceManager.DataMigration.Models.ErrorInfo ErrorInfo (string code = default, string message = default);
static member ErrorInfo : string * string -> Azure.ResourceManager.DataMigration.Models.ErrorInfo
Public Shared Function ErrorInfo (Optional code As String = Nothing, Optional message As String = Nothing) As ErrorInfo

Parameters

code
String

Error code.

message
String

Error message.

Returns

A new ErrorInfo instance for mocking.

Applies to