Constructor MongoEncryptionCreateCollectionException
- Namespace
 - MongoDB.Driver.Encryption
 
- Assembly
 - MongoDB.Driver.Encryption.dll
 
MongoEncryptionCreateCollectionException(Exception, BsonDocument)
Initializes a new instance of the MongoEncryptionException class.
public MongoEncryptionCreateCollectionException(Exception innerException, BsonDocument encryptedFields)
Parameters
innerExceptionExceptionThe inner exception.
encryptedFieldsBsonDocumentThe 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
infoSerializationInfoThe SerializationInfo.
contextStreamingContextThe StreamingContext.