[]
Initializes a new instance of the InvalidBooleanExpressionException class.
public InvalidBooleanExpressionException()
Initializes a new instance of the InvalidBooleanExpressionException class using a specified error message.
public InvalidBooleanExpressionException(string message)
Type | Name | Description |
---|---|---|
string | message | A string value indicating the error message. |
Initializes a new instance of the InvalidBooleanExpressionException class using a specified error message and a reference to the inner exception that caused this exception.
public InvalidBooleanExpressionException(string message, Exception innerException)
Type | Name | Description |
---|---|---|
string | message | A string value indicating the error message that explained the reason for the exception. |
Exception | innerException | An Exception object that caused the current exception. |
If the innerException
parameter is not a null
reference, the current exception is raised in a catch block that
handles the inner exception.
Initializes a new instance of the InvalidBooleanExpressionException class using a serialized data.
protected InvalidBooleanExpressionException(SerializationInfo info, StreamingContext context)
Type | Name | Description |
---|---|---|
SerializationInfo | info | The object that holds the serialized object data. |
StreamingContext | context | The contextual information about the source or destination. |
This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.