Table of Contents

Constructor MongoGridFSException

Namespace
MongoDB.Driver.GridFS
Assembly
MongoDB.Driver.Legacy.dll

MongoGridFSException(ConnectionId, string)

Initializes a new instance of the MongoGridFSException class.

public MongoGridFSException(ConnectionId connectionId, string message)

Parameters

connectionId ConnectionId

The connection identifier.

message string

The error message.

MongoGridFSException(ConnectionId, string, Exception)

Initializes a new instance of the MongoGridFSException class.

public MongoGridFSException(ConnectionId connectionId, string message, Exception innerException)

Parameters

connectionId ConnectionId

The connection identifier.

message string

The error message.

innerException Exception

The inner exception.

MongoGridFSException(SerializationInfo, StreamingContext)

Initializes a new instance of the MongoGridFSException class (this overload supports deserialization).

public MongoGridFSException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo.

context StreamingContext

The StreamingContext.