AsyncContext
Assembly: ServiceStack.dll
View Source
Declaration
public class AsyncContext
Methods
ContinueWith(Task, Action<Task>)
View Source
Declaration
public virtual Task ContinueWith(Task task, Action<Task> fn)
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
System.Threading.Tasks.Task | task |
System.Action<System.Threading.Tasks.Task> | fn |
ContinueWith(Task, Action<Task>, TaskContinuationOptions)
View Source
Declaration
public virtual Task ContinueWith(Task task, Action<Task> fn, TaskContinuationOptions continuationOptions)
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
System.Threading.Tasks.Task | task |
System.Action<System.Threading.Tasks.Task> | fn |
System.Threading.Tasks.TaskContinuationOptions | continuationOptions |