Search Results for

    Show / Hide Table of Contents

    Delegate AsyncTestDelegate

    Delegate used by tests that execute async code and capture any thrown exception.

    Namespace: NUnit.Framework
    Assembly: nunit.framework.dll
    Syntax
    public delegate Task AsyncTestDelegate()
    Returns
    Type Description
    Task Delegate used by tests that execute async code and capture any thrown exception.

    Constructors

    View Source

    AsyncTestDelegate(object, nint)

    Declaration
    public AsyncTestDelegate(object @object, nint method)
    Parameters
    Type Name Description
    object object
    nint method

    Methods

    View Source

    BeginInvoke(AsyncCallback, object)

    Declaration
    public virtual IAsyncResult BeginInvoke(AsyncCallback callback, object @object)
    Parameters
    Type Name Description
    AsyncCallback callback
    object object
    Returns
    Type Description
    IAsyncResult
    View Source

    EndInvoke(IAsyncResult)

    Declaration
    public virtual Task EndInvoke(IAsyncResult result)
    Parameters
    Type Name Description
    IAsyncResult result
    Returns
    Type Description
    Task
    View Source

    Invoke()

    Declaration
    public virtual Task Invoke()
    Returns
    Type Description
    Task
    • View Source
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0