Table of Contents

Class MongoExecutionTimeoutException

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

Represents a MongoDB execution timeout exception.

[Serializable]
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)