Constructor MongoGridFSFileInfo
MongoGridFSFileInfo(MongoGridFS, string)
Initializes a new instance of the GridFSFileInfo class.
[Obsolete("Use a different constructor instead.")]
public MongoGridFSFileInfo(MongoGridFS gridFS, string remoteFileName)
Parameters
gridFSMongoGridFSThe GridFS file system that contains the GridFS file.
remoteFileNamestringThe remote file name.
MongoGridFSFileInfo(MongoGridFS, string, int)
Initializes a new instance of the GridFSFileInfo class.
[Obsolete("Use a different constructor instead.")]
public MongoGridFSFileInfo(MongoGridFS gridFS, string remoteFileName, int chunkSize)
Parameters
gridFSMongoGridFSThe GridFS file system that contains the GridFS file.
remoteFileNamestringThe remote file name.
chunkSizeintThe chunk size.
MongoGridFSFileInfo(MongoGridFS, string, MongoGridFSCreateOptions)
Initializes a new instance of the GridFSFileInfo class.
[Obsolete("Use a different constructor instead.")]
public MongoGridFSFileInfo(MongoGridFS gridFS, string remoteFileName, MongoGridFSCreateOptions createOptions)
Parameters
gridFSMongoGridFSThe GridFS file system that contains the GridFS file.
remoteFileNamestringThe remote file name.
createOptionsMongoGridFSCreateOptionsThe create options.
MongoGridFSFileInfo(MongoServer, MongoServerInstance, string, MongoGridFSSettings, string)
Initializes a new instance of the MongoGridFSFileInfo class.
public MongoGridFSFileInfo(MongoServer server, MongoServerInstance serverInstance, string databaseName, MongoGridFSSettings gridFSSettings, string remoteFileName)
Parameters
serverMongoServerThe server.
serverInstanceMongoServerInstanceThe server instance.
databaseNamestringName of the database.
gridFSSettingsMongoGridFSSettingsThe GridFS settings.
remoteFileNamestringThe remote file name.
MongoGridFSFileInfo(MongoServer, MongoServerInstance, string, MongoGridFSSettings, BsonDocument)
Initializes a new instance of the MongoGridFSFileInfo class.
public MongoGridFSFileInfo(MongoServer server, MongoServerInstance serverInstance, string databaseName, MongoGridFSSettings gridFSSettings, BsonDocument fileInfo)
Parameters
serverMongoServerThe server.
serverInstanceMongoServerInstanceThe server instance.
databaseNamestringName of the database.
gridFSSettingsMongoGridFSSettingsThe GridFS settings.
fileInfoBsonDocumentThe fileInfo.
MongoGridFSFileInfo(MongoServer, MongoServerInstance, string, MongoGridFSSettings, string, MongoGridFSCreateOptions)
Initializes a new instance of the MongoGridFSFileInfo class.
public MongoGridFSFileInfo(MongoServer server, MongoServerInstance serverInstance, string databaseName, MongoGridFSSettings gridFSSettings, string remoteFileName, MongoGridFSCreateOptions createOptions)
Parameters
serverMongoServerThe server.
serverInstanceMongoServerInstanceThe server instance.
databaseNamestringName of the database.
gridFSSettingsMongoGridFSSettingsThe GridFS settings.
remoteFileNamestringThe remote file name.
createOptionsMongoGridFSCreateOptionsThe create options.