Class MongoGridFSException
Represents a MongoDB GridFS exception.
[Serializable]
public class MongoGridFSException : MongoServerException, ISerializable
- Inheritance
-
MongoGridFSException
- Implements
- Inherited Members
- Extension Methods
Constructors
MongoGridFSException(ConnectionId, string)
Initializes a new instance of the MongoGridFSException class.
public MongoGridFSException(ConnectionId connectionId, string message)
Parameters
connectionIdConnectionIdThe connection identifier.
messagestringThe error message.
MongoGridFSException(ConnectionId, string, Exception)
Initializes a new instance of the MongoGridFSException class.
public MongoGridFSException(ConnectionId connectionId, string message, Exception innerException)
Parameters
connectionIdConnectionIdThe connection identifier.
messagestringThe error message.
innerExceptionExceptionThe inner exception.
MongoGridFSException(SerializationInfo, StreamingContext)
Initializes a new instance of the MongoGridFSException class (this overload supports deserialization).
public MongoGridFSException(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoThe SerializationInfo.
contextStreamingContextThe StreamingContext.