Table of Contents

Constructor MongoEncryptionCreateCollectionException

Namespace
MongoDB.Driver.Encryption
Assembly
MongoDB.Driver.dll

MongoEncryptionCreateCollectionException(Exception, BsonDocument)

Initializes a new instance of the MongoEncryptionException class.

public MongoEncryptionCreateCollectionException(Exception innerException, BsonDocument encryptedFields)

Parameters

innerException Exception

The inner exception.

encryptedFields BsonDocument

The encrypted fields.

MongoEncryptionCreateCollectionException(SerializationInfo, StreamingContext)

Initializes a new instance of the MongoEncryptionCreateCollectionException class (this overload used by deserialization).

protected MongoEncryptionCreateCollectionException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo.

context StreamingContext

The StreamingContext.