Table of Contents

Constructor XunitException

Namespace
Xunit.Sdk
Assembly
xunit.v3.assert.dll

XunitException(string?)

Initializes a new instance of the XunitException class.

public XunitException(string? userMessage)

Parameters

userMessage string

The user message to be displayed

XunitException(string?, Exception?)

Initializes a new instance of the XunitException class.

public XunitException(string? userMessage, Exception? innerException)

Parameters

userMessage string

The user message to be displayed

innerException Exception

The inner exception