DurableTaskMethodBuilder<TResult>
struct
Namespace: Orleans.Durable.Tasks
Builds compiler-lowered asynchronous methods which return
Orleans.Durable.Tasks.DurableTask.public struct DurableTaskMethodBuilder<TResult>Properties
TaskGets the deferred durable task definition.
Methods
AwaitOnCompleted(TAwaiter, TStateMachine)Registers the next state-machine step with a safe awaiter.AwaitUnsafeOnCompleted(TAwaiter, TStateMachine)Registers the next state-machine step with a critical awaiter.CreateCreates a builder.SetException(Exception)Completes the definition with an exception.SetResult(TResult)Completes the definition successfully withresult.SetStateMachine(IAsyncStateMachine)Start(TStateMachine)CapturesstateMachinewithout executing it.
