MongoServerException Class |
Namespace: MongoDB.Driver
The MongoServerException type exposes the following members.
| Name | Description | |
|---|---|---|
| MongoServerException(SerializationInfo, StreamingContext) |
Initializes a new instance of the MongoServerException class.
| |
| MongoServerException(ConnectionId, String) |
Initializes a new instance of the MongoServerException class.
| |
| MongoServerException(ConnectionId, String, Exception) |
Initializes a new instance of the MongoServerException class.
|
| Name | Description | |
|---|---|---|
| ConnectionId |
Gets the connection identifier.
| |
| 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.) |
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetBaseException | (Inherited from Exception.) | |
| GetHashCode | (Inherited from Object.) | |
| GetObjectData | (Overrides ExceptionGetObjectData(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.) |