MongoGridFSException Class (original) (raw)
Represents a MongoDB GridFS exception.
Inheritance Hierarchy
Namespace: MongoDB.Driver.GridFS
Assembly: MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
[SerializableAttribute] public class MongoGridFSException : MongoServerException
Public Class MongoGridFSException Inherits MongoServerException[]
type MongoGridFSException =
class
inherit MongoServerException
end
The MongoGridFSException type exposes the following members.
Constructors
Properties
| | Name | Description | |
| ---------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | ConnectionId | Gets the connection identifier. (Inherited from MongoServerException.) |
|
| Data | Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from Exception.) |
|
| ErrorLabels | Gets the error labels. (Inherited from MongoException.) |
|
| HelpLink | Gets or sets a link to the help file associated with this exception. (Inherited from Exception.) |
|
| HResult | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from Exception.) |
|
| InnerException | Gets the Exception instance that caused the current exception. (Inherited from Exception.) |
|
| Message | Gets a message that describes the current exception. (Inherited from Exception.) |
|
| Source | Gets or sets the name of the application or the object that causes the error. (Inherited from Exception.) |
|
| StackTrace | Gets a string representation of the immediate frames on the call stack. (Inherited from Exception.) |
|
| TargetSite | Gets the method that throws the current exception. (Inherited from Exception.) |
Methods
Events
| | Name | Description | |
| -------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | SerializeObjectState | Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (Inherited from Exception.) |
Extension Methods
See Also