ArmDataMigrationModelFactory.ErrorInfo(String, String) 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 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
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