Throws(TException) Method

Moq

Collapse imageExpand ImageCopy imageCopyHover image
Throws an exception

Namespace: Moq.Language
Assembly: Moq (in Moq.dll) Version: 4.0.10827.0 (4.0.0.0)

Syntax

C#
void Throws<TException>()
where TException : new(), Exception

Type Parameters

TException

See Also