Throws.

InstanceOf(Type) Method

Summary

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

Syntax

public static InstanceOfTypeConstraint InstanceOf(Type expectedType)

Parameters

Name Type Description
expectedType Type

Return Value

Type Description
InstanceOfTypeConstraint