Class AssertionException
Thrown when an assertion failed.
public class AssertionException : ResultStateException, ISerializable
- Inheritance
-
AssertionException
- Implements
- Inherited Members
Constructors
AssertionException(SerializationInfo, StreamingContext)
Serialization Constructor
protected AssertionException(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfocontextStreamingContext
AssertionException(string)
public AssertionException(string message)
Parameters
messagestringThe error message that explains the reason for the exception
AssertionException(string, Exception)
public AssertionException(string message, Exception inner)
Parameters
messagestringThe error message that explains the reason for the exception
innerExceptionThe exception that caused the current exception
Properties
ResultState
Gets the ResultState provided by this exception
public override ResultState ResultState { get; }