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
info
SerializationInfocontext
StreamingContext
AssertionException(string)
public AssertionException(string message)
Parameters
message
stringThe error message that explains the reason for the exception
AssertionException(string, Exception)
public AssertionException(string message, Exception inner)
Parameters
message
stringThe error message that explains the reason for the exception
inner
ExceptionThe exception that caused the current exception
Properties
ResultState
Gets the ResultState provided by this exception
public override ResultState ResultState { get; }