Table of Contents

Class SuccessException

Namespace
NUnit.Framework
Assembly
nunit.framework.dll

Thrown when an assertion failed.

public class SuccessException : ResultStateException, ISerializable
Inheritance
SuccessException
Implements
Inherited Members

Constructors

SuccessException(SerializationInfo, StreamingContext)

Serialization Constructor

protected SuccessException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo
context StreamingContext

SuccessException(string)

public SuccessException(string message)

Parameters

message string

SuccessException(string, Exception)

public SuccessException(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 override ResultState ResultState { get; }

Property Value

ResultState