Table of Contents

Constructor MongoGridFSSettings

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

MongoGridFSSettings()

Initializes a new instance of the MongoGridFSSettings class.

public MongoGridFSSettings()

MongoGridFSSettings(MongoDatabase)

Initializes a new instance of the MongoGridFSSettings class.

[Obsolete("Use new MongoGridFSSettings() instead.")]
public MongoGridFSSettings(MongoDatabase database)

Parameters

database MongoDatabase

The database from which to inherit some of the settings.

MongoGridFSSettings(int, string, WriteConcern)

Initializes a new instance of the MongoGridFSSettings class.

[Obsolete("Use new MongoGridFSSettings() instead.")]
public MongoGridFSSettings(int chunkSize, string root, WriteConcern writeConcern)

Parameters

chunkSize int

The chunk size.

root string

The root collection name.

writeConcern WriteConcern

The write concern.