Class MongoExecutionTimeoutException

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

Represents a MongoDB execution timeout exception.

public class MongoExecutionTimeoutException : MongoServerException, ISerializable

Inheritance

MongoExecutionTimeoutException

Implements

Inherited Members

Constructors

MongoExecutionTimeoutException(ConnectionId, string)

Initializes a new instance of the MongoExecutionTimeoutException class.

MongoExecutionTimeoutException(ConnectionId, string, BsonDocument)

Initializes a new instance of the MongoExecutionTimeoutException class.

MongoExecutionTimeoutException(ConnectionId, string, Exception)

Initializes a new instance of the MongoExecutionTimeoutException class.

MongoExecutionTimeoutException(ConnectionId, string, Exception, BsonDocument)

Initializes a new instance of the MongoExecutionTimeoutException class.

MongoExecutionTimeoutException(SerializationInfo, StreamingContext)

Initializes a new instance of the MongoExecutionTimeoutException class.

Properties

Code

Gets the error code.

CodeName

Gets the name of the error code.

Methods

GetObjectData(SerializationInfo, StreamingContext)

When overridden in a derived class, sets the SerializationInfo with information about the exception.