Summary
Creates a constraint specifying the exact type of exception expected
Syntax
public static ExactTypeConstraint TypeOf(Type expectedType)
Parameters
Name | Type | Description |
---|---|---|
expectedType | Type |
Return Value
Type | Description |
---|---|
ExactTypeConstraint |