Delegate AsyncTestDelegate
Delegate used by tests that execute async code and
capture any thrown exception.
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
Methods
View Source
BeginInvoke(AsyncCallback, object)
Declaration
public virtual IAsyncResult BeginInvoke(AsyncCallback callback, object @object)
Parameters
Returns
View Source
EndInvoke(IAsyncResult)
Declaration
public virtual Task EndInvoke(IAsyncResult result)
Parameters
Returns
View Source
Invoke()
Declaration
public virtual Task Invoke()
Returns