Skip to main content

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
TypeName
System.Threading.Tasks.Tasktask
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
TypeName
System.Threading.Tasks.Tasktask
System.Action<System.Threading.Tasks.Task>fn
System.Threading.Tasks.TaskContinuationOptionscontinuationOptions