Class RuleDefinitionException
Represents errors that occur while building rule definition using fluent DSL.
[Serializable]
public class RuleDefinitionException : Exception, ISerializable
- Inheritance
-
RuleDefinitionException
- Implements
- Inherited Members
Constructors
RuleDefinitionException(SerializationInfo, StreamingContext)
protected RuleDefinitionException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfocontext
StreamingContext
Properties
Message
Gets a message that describes the current exception.
public override string Message { get; }
Property Value
- string
The error message that explains the reason for the exception, or an empty string ("").
RuleType
Rule CLR type that caused exception.
public Type RuleType { get; }
Property Value
RuleTypeName
Rule CLR type name that caused exception.
public string RuleTypeName { get; }
Property Value
Methods
GetObjectData(SerializationInfo, StreamingContext)
When overridden in a derived class, sets the SerializationInfo with information about the exception.
[SecurityCritical]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
context
StreamingContextThe StreamingContext that contains contextual information about the source or destination.
Exceptions
- ArgumentNullException
The
info
parameter is a null reference (Nothing
in Visual Basic).