Search Results for

    Show / Hide Table of Contents

    Class IgnoreException

    Thrown when an assertion failed.

    Inheritance
    object
    Exception
    ResultStateException
    IgnoreException
    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 class IgnoreException : ResultStateException, ISerializable

    Constructors

    View Source

    IgnoreException(string)

    Declaration
    public IgnoreException(string message)
    Parameters
    Type Name Description
    string message
    View Source

    IgnoreException(string, Exception?)

    Declaration
    public IgnoreException(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 override ResultState ResultState { get; }
    Property Value
    Type Description
    ResultState
    Overrides
    ResultStateException.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