Share via


ReactiveAssert.Throws Method

Include Protected Members
Include Inherited Members

Asserts that the given action throws an exception.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member Throws<TException>(Action) Asserts that the given action throws an exception of the type specified in the generic parameter.
Public methodStatic member Throws<TException>(Action, String) Asserts that the given action throws an exception of the type specified in the generic parameter.
Public methodStatic member Throws<TException>(TException, Action)
Public methodStatic member Throws<TException>(TException, Action, String)

Top

See Also

Reference

ReactiveAssert Class

Microsoft.Reactive.Testing Namespace