Table of Contents

Class ExpressionNotSupportedException

Namespace
MongoDB.Driver.Linq
Assembly
MongoDB.Driver.dll

Exception that is thrown when using a LINQ expression that is not supported.

public class ExpressionNotSupportedException : NotSupportedException, ISerializable
Inheritance
ExpressionNotSupportedException
Implements
Inherited Members

Constructors

ExpressionNotSupportedException(Expression)

Initializes an instance of an ExpressionNotSupportedException.

public ExpressionNotSupportedException(Expression expression)

Parameters

expression Expression

The expression.

ExpressionNotSupportedException(Expression, Expression)

Initializes an instance of an ExpressionNotSupportedException.

public ExpressionNotSupportedException(Expression expression, Expression containingExpression)

Parameters

expression Expression

The expression.

containingExpression Expression

The containing expression.

ExpressionNotSupportedException(Expression, Expression, string)

Initializes an instance of an ExpressionNotSupportedException.

public ExpressionNotSupportedException(Expression expression, Expression containingExpression, string because)

Parameters

expression Expression

The expression.

containingExpression Expression

The containing expression.

because string

The reason.

ExpressionNotSupportedException(Expression, string)

Initializes an instance of an ExpressionNotSupportedException.

public ExpressionNotSupportedException(Expression expression, string because)

Parameters

expression Expression

The expression.

because string

The reason.

ExpressionNotSupportedException(string)

Initializes an instance of an ExpressionNotSupportedException.

public ExpressionNotSupportedException(string message)

Parameters

message string

The message.