Constructor MongoExecutionTimeoutException
MongoExecutionTimeoutException(ConnectionId, string)
Initializes a new instance of the MongoExecutionTimeoutException class.
public MongoExecutionTimeoutException(ConnectionId connectionId, string message)
Parameters
connectionId
ConnectionIdThe connection identifier.
message
stringThe error message.
MongoExecutionTimeoutException(ConnectionId, string, Exception)
Initializes a new instance of the MongoExecutionTimeoutException class.
public MongoExecutionTimeoutException(ConnectionId connectionId, string message, Exception innerException)
Parameters
connectionId
ConnectionIdThe connection identifier.
message
stringThe error message.
innerException
ExceptionThe inner exception.
MongoExecutionTimeoutException(ConnectionId, string, BsonDocument)
Initializes a new instance of the MongoExecutionTimeoutException class.
public MongoExecutionTimeoutException(ConnectionId connectionId, string message, BsonDocument result)
Parameters
connectionId
ConnectionIdThe connection identifier.
message
stringThe error message.
result
BsonDocumentThe 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
ConnectionIdThe connection identifier.
message
stringThe error message.
innerException
ExceptionThe inner exception.
result
BsonDocumentThe command result.
MongoExecutionTimeoutException(SerializationInfo, StreamingContext)
Initializes a new instance of the MongoExecutionTimeoutException class.
public MongoExecutionTimeoutException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo.
context
StreamingContextThe StreamingContext.