MongoWriteException Class |
Namespace: MongoDB.Driver
The MongoWriteException type exposes the following members.
Name | Description | |
---|---|---|
MongoWriteException(SerializationInfo, StreamingContext) |
Initializes a new instance of the MongoQueryException class (this overload supports deserialization).
| |
MongoWriteException(ConnectionId, WriteError, WriteConcernError, Exception) |
Initializes a new instance of the MongoWriteException class.
|
Name | Description | |
---|---|---|
ConnectionId |
Gets the connection identifier.
(Inherited from MongoServerException.) | |
Data | (Inherited from Exception.) | |
HelpLink | (Inherited from Exception.) | |
HResult | (Inherited from Exception.) | |
InnerException | (Inherited from Exception.) | |
Message | (Inherited from Exception.) | |
Source | (Inherited from Exception.) | |
StackTrace | (Inherited from Exception.) | |
TargetSite | (Inherited from Exception.) | |
WriteConcernError |
Gets the write concern error.
| |
WriteError |
Gets the write error.
|
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetBaseException | (Inherited from Exception.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData |
Gets the object data.
(Overrides MongoServerExceptionGetObjectData(SerializationInfo, StreamingContext).) | |
GetType | (Inherited from Exception.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Exception.) |
Name | Description | |
---|---|---|
SerializeObjectState | (Inherited from Exception.) |
Name | Description | |
---|---|---|
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |