你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MongoDbError Class
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.
Describes an error or warning that occurred during a MongoDB migration
public class MongoDbError
type MongoDbError = class
Public Class MongoDbError
- Inheritance
-
MongoDbError
Constructors
MongoDbError() |
Initializes a new instance of the MongoDbError class. |
MongoDbError(String, Nullable<Int32>, String, String) |
Initializes a new instance of the MongoDbError class. |
Properties
Code |
Gets or sets the non-localized, machine-readable code that describes the error or warning |
Count |
Gets or sets the number of times the error or warning has occurred |
Message |
Gets or sets the localized, human-readable message that describes the error or warning |
Type |
Gets or sets the type of error or warning Possible values include: 'Error', 'ValidationError', 'Warning' |