Class WriteConcernError
Represents the details of a write concern error.
[Serializable]
public class WriteConcernError
- Inheritance
-
WriteConcernError
- Inherited Members
Properties
Code
Gets the error code.
public int Code { get; }
Property Value
CodeName
Gets the name of the error code.
public string CodeName { get; }
Property Value
- string
The name of the error code.
Details
Gets the error information.
public BsonDocument Details { get; }
Property Value
ErrorLabels
Gets the error labels.
public IEnumerable<string> ErrorLabels { get; }
Property Value
Message
Gets the error message.
public string Message { get; }
Property Value
Methods
ToString()
public override string ToString()