Edit

Share via


ThrowsConstraint(Constraint) Constructor

Definition

Initializes a new instance of the ThrowsConstraint class, using a constraint to be applied to the exception.

public ThrowsConstraint (NUnit.Framework.Constraints.Constraint baseConstraint);
new NUnit.Framework.Constraints.ThrowsConstraint : NUnit.Framework.Constraints.Constraint -> NUnit.Framework.Constraints.ThrowsConstraint

Parameters

baseConstraint
Constraint

A constraint to apply to the caught exception.

Applies to