Skip to content

Assert.DoesNotThrowAsync

Chris Maddock edited this page Mar 11, 2016 · 5 revisions

Assert.DoesNotThrowAsync verifies that the delegate provided as an argument does not throw an exception. See Assert.DoesNotThrow for synchronous code.

void Assert.DoesNotThrowAsync( AsyncTestDelegate code );
void Assert.DoesNotThrowAsync( AsyncTestDelegate code, 
                          string message, params object[] parms);

See also...

* Assert.ThrowsAsync * ThrowsConstraint
Clone this wiki locally