C# Класс MongoDB.Driver.MongoQueryException

Наследование: MongoException
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
MongoQueryException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the MongoQueryException class (this overload supports deserialization).

MongoQueryException ( string message ) : System

Initializes a new instance of the MongoQueryException class.

MongoQueryException ( string message, BsonDocument queryResult ) : System

Initializes a new instance of the MongoQueryException class.

MongoQueryException ( string message, Exception innerException ) : System

Initializes a new instance of the MongoQueryException class.

Описание методов

MongoQueryException() публичный Метод

Initializes a new instance of the MongoQueryException class (this overload supports deserialization).
public MongoQueryException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo The SerializationInfo.
context System.Runtime.Serialization.StreamingContext The StreamingContext.
Результат System

MongoQueryException() публичный Метод

Initializes a new instance of the MongoQueryException class.
public MongoQueryException ( string message ) : System
message string The error message.
Результат System

MongoQueryException() публичный Метод

Initializes a new instance of the MongoQueryException class.
public MongoQueryException ( string message, BsonDocument queryResult ) : System
message string The error message.
queryResult BsonDocument The error document returned by the server.
Результат System

MongoQueryException() публичный Метод

Initializes a new instance of the MongoQueryException class.
public MongoQueryException ( string message, Exception innerException ) : System
message string The error message.
innerException System.Exception The inner exception.
Результат System