Throws.

TypeOf<TExpected>() Method

Summary

Creates a constraint specifying the exact type of exception expected
Namespace
TCLite
Containing Type
Throws

Syntax

public static ExactTypeConstraint TypeOf<TExpected>() where TExpected : Exception

Type Parameters

Name Description
TExpected

Return Value

Type Description
ExactTypeConstraint