MongoNotPrimaryException Constructor (ConnectionId, BsonDocument) |
Namespace: MongoDB.DriverAssembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.3.0
Syntax public MongoNotPrimaryException(
ConnectionId connectionId,
BsonDocument result
)
Public Sub New (
connectionId As ConnectionId,
result As BsonDocument
)
new :
connectionId : ConnectionId *
result : BsonDocument -> MongoNotPrimaryException
Parameters
- connectionId
- Type: MongoDB.Driver.Core.ConnectionsConnectionId
The connection identifier. - result
- Type: MongoDB.BsonBsonDocument
The result.
See Also