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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET