Table of Contents

Class RaisesAnyException

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

Exception thrown when Assert.RaisesAny fails.

public class RaisesAnyException : XunitException, ISerializable, IAssertionException
Inheritance
RaisesAnyException
Implements
Inherited Members

Methods

ForNoEvent(Type)

Creates a new instance of the RaisesAnyException class to be thrown when no event was raised.

public static RaisesAnyException ForNoEvent(Type expected)

Parameters

expected Type

The type of the event args that was expected

Returns

RaisesAnyException