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
gridFS
MongoGridFSThe GridFS file system that contains the GridFS file.
remoteFileName
stringThe 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
gridFS
MongoGridFSThe GridFS file system that contains the GridFS file.
remoteFileName
stringThe remote file name.
chunkSize
intThe 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
gridFS
MongoGridFSThe GridFS file system that contains the GridFS file.
remoteFileName
stringThe remote file name.
createOptions
MongoGridFSCreateOptionsThe 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
server
MongoServerThe server.
serverInstance
MongoServerInstanceThe server instance.
databaseName
stringName of the database.
gridFSSettings
MongoGridFSSettingsThe GridFS settings.
remoteFileName
stringThe 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
server
MongoServerThe server.
serverInstance
MongoServerInstanceThe server instance.
databaseName
stringName of the database.
gridFSSettings
MongoGridFSSettingsThe GridFS settings.
fileInfo
BsonDocumentThe 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
server
MongoServerThe server.
serverInstance
MongoServerInstanceThe server instance.
databaseName
stringName of the database.
gridFSSettings
MongoGridFSSettingsThe GridFS settings.
remoteFileName
stringThe remote file name.
createOptions
MongoGridFSCreateOptionsThe create options.