MongoDbError Constructors

Definition

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

count
Nullable<Int32>

The number of times the error or warning has occurred

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'

Applies to