Table of Contents

Constructor MongoExecutionTimeoutException

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

MongoExecutionTimeoutException(ConnectionId, string)

Initializes a new instance of the MongoExecutionTimeoutException class.

public MongoExecutionTimeoutException(ConnectionId connectionId, string message)

Parameters

connectionId ConnectionId

The connection identifier.

message string

The error message.

MongoExecutionTimeoutException(ConnectionId, string, Exception)

Initializes a new instance of the MongoExecutionTimeoutException class.

public MongoExecutionTimeoutException(ConnectionId connectionId, string message, Exception innerException)

Parameters

connectionId ConnectionId

The connection identifier.

message string

The error message.

innerException Exception

The inner exception.

MongoExecutionTimeoutException(ConnectionId, string, BsonDocument)

Initializes a new instance of the MongoExecutionTimeoutException class.

public MongoExecutionTimeoutException(ConnectionId connectionId, string message, BsonDocument result)

Parameters

connectionId ConnectionId

The connection identifier.

message string

The error message.

result BsonDocument

The command result.

MongoExecutionTimeoutException(ConnectionId, string, Exception, BsonDocument)

Initializes a new instance of the MongoExecutionTimeoutException class.

public MongoExecutionTimeoutException(ConnectionId connectionId, string message, Exception innerException, BsonDocument result)

Parameters

connectionId ConnectionId

The connection identifier.

message string

The error message.

innerException Exception

The inner exception.

result BsonDocument

The command result.

MongoExecutionTimeoutException(SerializationInfo, StreamingContext)

Initializes a new instance of the MongoExecutionTimeoutException class.

public MongoExecutionTimeoutException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo.

context StreamingContext

The StreamingContext.