Table of Contents

Constructor MongoClientException

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Core.dll

MongoClientException(string)

Initializes a new instance of the MongoClientException class.

public MongoClientException(string message)

Parameters

message string

The error message.

MongoClientException(string, Exception)

Initializes a new instance of the MongoClientException class.

public MongoClientException(string message, Exception innerException)

Parameters

message string

The error message.

innerException Exception

The inner exception.

MongoClientException(SerializationInfo, StreamingContext)

Initializes a new instance of the MongoClientException class.

public MongoClientException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo.

context StreamingContext

The StreamingContext.