WorkflowTaskMethodBuilder<'T>Type

PackageFCQRS.Workflows
Builds `WorkflowTask<T>` methods. The C# compiler uses it; application code does not.

Specification

Kind
Type
Members
9
Examples
0
``.ctor``Signature
WorkflowTaskMethodBuilder()
AwaitOnCompletedSignature
this.AwaitOnCompleted
AwaitUnsafeOnCompletedSignature
this.AwaitUnsafeOnCompleted
SetExceptionSignature
this.SetException
SetResultSignature
this.SetResult

Summary

NameSignatureSynopsis
``.ctor``WorkflowTaskMethodBuilder()No description available.
AwaitOnCompletedthis.AwaitOnCompletedCalled by the compiler.
AwaitUnsafeOnCompletedthis.AwaitUnsafeOnCompletedCalled by the compiler.
SetExceptionthis.SetExceptionCalled by the compiler.
SetResultthis.SetResultCalled by the compiler.
SetStateMachinethis.SetStateMachineCalled by the compiler.
Startthis.StartCalled by the compiler.
Taskthis.TaskThe task the method returns.
CreateWorkflowTaskMethodBuilder.Create()Called by the compiler.

``.ctor``

WorkflowTaskMethodBuilder()
Member

Returns

WorkflowTaskMethodBuilder<'T>

AwaitOnCompleted

this.AwaitOnCompleted
Member
Called by the compiler.

Parameters

NameTypeDescription
awaiterbyref<'TAwaiter>
stateMachinebyref<'TStateMachine>

Returns

unit

AwaitUnsafeOnCompleted

this.AwaitUnsafeOnCompleted
Member
Called by the compiler.

Parameters

NameTypeDescription
awaiterbyref<'TAwaiter>
stateMachinebyref<'TStateMachine>

Returns

unit

SetException

this.SetException
Member
Called by the compiler.

Parameters

NameTypeDescription
errorexn

Returns

unit

SetResult

this.SetResult
Member
Called by the compiler.

Parameters

NameTypeDescription
result'T

Returns

unit

SetStateMachine

this.SetStateMachine
Member
Called by the compiler.

Parameters

NameTypeDescription
_IAsyncStateMachine

Returns

unit

Start

this.Start
Member
Called by the compiler.

Parameters

NameTypeDescription
stateMachinebyref<'TStateMachine>

Returns

unit

Task

this.Task
Member
The task the method returns.

Returns

WorkflowTask<'T>

Create

WorkflowTaskMethodBuilder.Create()
Member
Called by the compiler.

Returns

WorkflowTaskMethodBuilder<'T>