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 | | | ---------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Public property | ConnectionId | Gets the connection identifier. (Inherited from MongoServerException.) | | Public property | Data | Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from Exception.) | | Public property | ErrorLabels | Gets the error labels. (Inherited from MongoException.) | | Public property | HelpLink | Gets or sets a link to the help file associated with this exception. (Inherited from Exception.) | | Public property | HResult | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from Exception.) | | Public property | InnerException | Gets the Exception instance that caused the current exception. (Inherited from Exception.) | | Public property | Message | Gets a message that describes the current exception. (Inherited from Exception.) | | Public property | Source | Gets or sets the name of the application or the object that causes the error. (Inherited from Exception.) | | Public property | StackTrace | Gets a string representation of the immediate frames on the call stack. (Inherited from Exception.) | | Public property | TargetSite | Gets the method that throws the current exception. (Inherited from Exception.) |

Top

Methods

Events

| | Name | Description | | | -------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Protected event | SerializeObjectState | Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (Inherited from Exception.) |

Top

Extension Methods

See Also

Reference