你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MongoDbError Constructors
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.
Overloads
MongoDbError() |
Initializes a new instance of the MongoDbError class. |
MongoDbError(String, Nullable<Int32>, String, String) |
Initializes a new instance of the MongoDbError class. |
MongoDbError()
Initializes a new instance of the MongoDbError class.
public MongoDbError ();
Public Sub New ()
Applies to
MongoDbError(String, Nullable<Int32>, String, String)
Initializes a new instance of the MongoDbError class.
public MongoDbError (string code = default, int? count = default, string message = default, string type = default);
new Microsoft.Azure.Management.DataMigration.Models.MongoDbError : string * Nullable<int> * string * string -> Microsoft.Azure.Management.DataMigration.Models.MongoDbError
Public Sub New (Optional code As String = Nothing, Optional count As Nullable(Of Integer) = Nothing, Optional message As String = Nothing, Optional type As String = Nothing)
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
- type
- String
The type of error or warning Possible values include: 'Error', 'ValidationError', 'Warning'