Search Results for

    Show / Hide Table of Contents

    Assert.DoesNotThrowAsync

    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[] params);
    

    See Also

    • Assert.ThrowsAsync
    • ThrowsConstraint
    • Edit this page
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0