Throws.

TypeOf(Type) Method

Summary

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

Syntax

public static ExactTypeConstraint TypeOf(Type expectedType)

Parameters

Name Type Description
expectedType Type

Return Value

Type Description
ExactTypeConstraint