Table of Contents

Method FromException

Namespace
Xunit.Runner.Common
Assembly
xunit.v3.runner.common.dll

FromException(Exception, string)

Creates a new ITestAssemblyCleanupFailure constructed from an Exception object.

public static ITestAssemblyCleanupFailure FromException(Exception ex, string assemblyUniqueID)

Parameters

ex Exception

The exception to use

assemblyUniqueID string

The unique ID of the assembly

Returns