ArmDataMigrationModelFactory.MongoDBError 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 MongoDBError.
public static Azure.ResourceManager.DataMigration.Models.MongoDBError MongoDBError (string code = default, int? count = default, string message = default, Azure.ResourceManager.DataMigration.Models.MongoDBErrorType? errorType = default);
static member MongoDBError : string * Nullable<int> * string * Nullable<Azure.ResourceManager.DataMigration.Models.MongoDBErrorType> -> Azure.ResourceManager.DataMigration.Models.MongoDBError
Public Shared Function MongoDBError (Optional code As String = Nothing, Optional count As Nullable(Of Integer) = Nothing, Optional message As String = Nothing, Optional errorType As Nullable(Of MongoDBErrorType) = Nothing) As MongoDBError
Parameters
- code
- String
The non-localized, machine-readable code that describes the error or warning.
- message
- String
The localized, human-readable message that describes the error or warning.
- errorType
- Nullable<MongoDBErrorType>
The type of error or warning.
Returns
A new MongoDBError instance for mocking.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET