Microsoft.Activities.Extensions |
WorkflowEpisode..::..RunEpisode Method (Func<(Of <(<'WorkflowApplicationIdleEventArgs, String, Boolean>)>)>) |
WorkflowEpisode Class See Also Send Feedback |
Runs an episode synchronously
Namespace: Microsoft.Activities.Extensions
Assembly: Microsoft.Activities.Extensions (in Microsoft.Activities.Extensions.dll) Version: 2.0.6.9 (2.0.6.9)
Syntax
C# |
---|
public WorkflowEpisodeResult RunEpisode( Func<WorkflowApplicationIdleEventArgs, string, bool> idleEventCallback ) |
Visual Basic |
---|
Public Function RunEpisode ( _ idleEventCallback As Func(Of WorkflowApplicationIdleEventArgs, String, Boolean) _ ) As WorkflowEpisodeResult |
Visual C++ |
---|
public: WorkflowEpisodeResult^ RunEpisode( Func<WorkflowApplicationIdleEventArgs^, String^, bool>^ idleEventCallback ) |
Parameters
- idleEventCallback
- Type: System..::..Func<(Of <(<'WorkflowApplicationIdleEventArgs, String, Boolean>)>)>
Function that determines if a given idle event should end the episode
Return Value
An episode resultExceptions
Exception | Condition |
---|---|
System..::..TimeoutException | The episode did not complete before timeout |