Click or drag to resize
MongoDuplicateKeyException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the MongoDuplicateKeyException class.

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.3.0
Syntax
public MongoDuplicateKeyException(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.SerializationSerializationInfo
The SerializationInfo.
context
Type: System.Runtime.SerializationStreamingContext
The StreamingContext.
See Also