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
innerException
ExceptionThe inner exception.
encryptedFields
BsonDocumentThe 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
SerializationInfoThe SerializationInfo.
context
StreamingContextThe StreamingContext.