Show / Hide Table of Contents

Class FalseException

Exception thrown when a value is unexpectedly true.

Inheritance
Object
XunitException
AssertActualExpectedException
FalseException
Inherited Members
AssertActualExpectedException.Actual
AssertActualExpectedException.ActualTitle
AssertActualExpectedException.Expected
AssertActualExpectedException.ExpectedTitle
AssertActualExpectedException.Message
XunitException.StackTrace
XunitException.UserMessage
XunitException.ToString()
Namespace: Xunit.Sdk
Assembly: xunit.assert.dll
Syntax
public class FalseException : AssertActualExpectedException

Constructors

| Improve this Doc View Source

FalseException(String, Nullable<Boolean>)

Creates a new instance of the FalseException class.

Declaration
public FalseException(string userMessage, bool? value)
Parameters
Type Name Description
String userMessage

The user message to be display, or null for the default message

Nullable<Boolean> value

The actual value

  • Improve this Doc
  • View Source
Back to top Generated by DocFX