Table of Contents

Class ResultStateException

Namespace
NUnit.Framework
Assembly
nunit.framework.dll

Abstract base for Exceptions that terminate a test and provide a ResultState.

public abstract class ResultStateException : Exception, ISerializable
Inheritance
ResultStateException
Implements
Derived
Inherited Members

Constructors

ResultStateException(SerializationInfo, StreamingContext)

Serialization Constructor

protected ResultStateException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo
context StreamingContext

ResultStateException(string)

public ResultStateException(string message)

Parameters

message string

The error message that explains the reason for the exception

ResultStateException(string, Exception)

public ResultStateException(string message, Exception inner)

Parameters

message string

The error message that explains the reason for the exception

inner Exception

The exception that caused the current exception

Properties

ResultState

Gets the ResultState provided by this exception

public abstract ResultState ResultState { get; }

Property Value

ResultState