Throws Method (Exception)

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(
	Exception exception
)

Parameters

exception
Type: System..::..Exception

See Also