Fluent Assertions Documentation
FluentAssertions Assembly / FluentAssertions.Specialized Namespace / ActionAssertions Class / NotThrowAfter Method
The time after which the delegate should have stopped throwing any exception.
The time between subsequent invocations of the delegate.
A formatted phrase as is supported by System.String.Format(System.String,System.Object[]) explaining why the assertion is needed. If the phrase does not start with the word because, it is prepended automatically.
Zero or more objects to format using the placeholders in because.
In This Topic
    NotThrowAfter Method (ActionAssertions)
    In This Topic
    Asserts that the current System.Delegate stops throwing any exception after a specified amount of time.
    Syntax

    Parameters

    waitTime
    The time after which the delegate should have stopped throwing any exception.
    pollInterval
    The time between subsequent invocations of the delegate.
    because
    A formatted phrase as is supported by System.String.Format(System.String,System.Object[]) explaining why the assertion is needed. If the phrase does not start with the word because, it is prepended automatically.
    becauseArgs
    Zero or more objects to format using the placeholders in because.
    Exceptions
    ExceptionDescription
    because
    waitTime or pollInterval are negative.
    Permissions
    PermissionDescription
    because
    Remarks
    The delegate is invoked. If it raises an exception, the invocation is repeated until it either stops raising any exceptions or the specified wait time is exceeded.
    Example
    because
    Supported Frameworks
    because
    See Also