Class AsyncTest
Inheritance
System.Object
AsyncTest
Assembly: cs.temp.dll.dll
Syntax
public static class AsyncTest
Methods
Execute(Task)
Declaration
public static IEnumerator Execute(Task task)
Parameters
| Type |
Name |
Description |
| Task |
task |
|
Returns
| Type |
Description |
| System.Collections.IEnumerator |
|
ThrowsAsync<T>(Task)
Declaration
public static Task ThrowsAsync<T>(Task asyncMethod)
where T : Exception
Parameters
| Type |
Name |
Description |
| Task |
asyncMethod |
|
Returns
Type Parameters
ThrowsAsync<T>(Task, String)
Declaration
public static Task ThrowsAsync<T>(Task asyncMethod, string message)
where T : Exception
Parameters
| Type |
Name |
Description |
| Task |
asyncMethod |
|
| System.String |
message |
|
Returns
Type Parameters