Search Results for

    Show / Hide Table of Contents

    Class ResultStateException

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

    Inheritance
    object
    Exception
    ResultStateException
    AssertionException
    IgnoreException
    InconclusiveException
    MultipleAssertException
    SuccessException
    Implements
    ISerializable
    Inherited Members
    Exception.GetBaseException()
    Exception.ToString()
    Exception.GetType()
    Exception.TargetSite
    Exception.Message
    Exception.Data
    Exception.InnerException
    Exception.HelpLink
    Exception.Source
    Exception.HResult
    Exception.StackTrace
    Exception.SerializeObjectState
    object.MemberwiseClone()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: NUnit.Framework
    Assembly: nunit.framework.dll
    Syntax
    public abstract class ResultStateException : Exception, ISerializable

    Constructors

    View Source

    ResultStateException(string)

    Declaration
    protected ResultStateException(string message)
    Parameters
    Type Name Description
    string message

    The error message that explains the reason for the exception

    View Source

    ResultStateException(string, Exception?)

    Declaration
    public ResultStateException(string message, Exception? inner)
    Parameters
    Type Name Description
    string message

    The error message that explains the reason for the exception

    Exception inner

    The exception that caused the current exception

    Properties

    View Source

    ResultState

    Gets the ResultState provided by this exception

    Declaration
    public abstract ResultState ResultState { get; }
    Property Value
    Type Description
    ResultState

    Implements

    ISerializable
    • View Source
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0