NUnit.Framework.Throws: Method Members

The methods of NUnit.Framework.Throws are listed below. For a list of all members, see the Throws Members list.

See Also: Inherited members from System.Object

Public Methods

static
InstanceOf(Type) : NUnit.Framework.Constraints.InstanceOfTypeConstraint
Creates a constraint specifying the type of exception expected
static
InstanceOf<T>() : NUnit.Framework.Constraints.InstanceOfTypeConstraint
Creates a constraint specifying the type of exception expected
static
TypeOf(Type) : NUnit.Framework.Constraints.ExactTypeConstraint
Creates a constraint specifying the exact type of exception expected
static
TypeOf<T>() : NUnit.Framework.Constraints.ExactTypeConstraint
Creates a constraint specifying the exact type of exception expected