Table of Contents

Constructor MongoWriteConcernException

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

MongoWriteConcernException(ConnectionId, string, WriteConcernResult)

Initializes a new instance of the MongoWriteConcernException class.

public MongoWriteConcernException(ConnectionId connectionId, string message, WriteConcernResult writeConcernResult)

Parameters

connectionId ConnectionId

The connection identifier.

message string

The error message.

writeConcernResult WriteConcernResult

The command result.

MongoWriteConcernException(SerializationInfo, StreamingContext)

Initializes a new instance of the MongoWriteConcernException class.

public MongoWriteConcernException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo.

context StreamingContext

The StreamingContext.