IThrows Methods

Moq

Collapse imageExpand ImageCopy imageCopyHover image

Methods

  NameDescription
Public methodThrows(Exception)
Specifies the exception to throw when the method is invoked.
Public methodThrows<(Of <<'(TException>)>>)()()()()
Specifies the type of exception to throw when the method is invoked.

See Also