The Execute Method is available in LEADTOOLS Document and Medical Imaging toolkits.
- executionContext
- The System.Workflow.ComponentModel.ActivityExecutionContext to associate with this Activity and execution.
Visual Basic (Declaration) | |
---|---|
Overrides Protected Function Execute( _ ByVal executionContext As ActivityExecutionContext _ ) As ActivityExecutionStatus |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ScanActivity Dim executionContext As ActivityExecutionContext Dim value As ActivityExecutionStatus value = instance.Execute(executionContext) |
C# | |
---|---|
protected override ActivityExecutionStatus Execute( ActivityExecutionContext executionContext ) |
C++/CLI | |
---|---|
protected: ActivityExecutionStatus Execute( ActivityExecutionContext^ executionContext ) override |
Parameters
- executionContext
- The System.Workflow.ComponentModel.ActivityExecutionContext to associate with this Activity and execution.
Return Value
The System.Workflow.ComponentModel.ActivityExecutionStatus of the run task, which determines whether the activity remains in the executing state, or transitions to the closed state.For more information, refer to System.Workflow.ComponentModel.Activity.Execute(System.Workflow.ComponentModel.ActivityExecutionContext).
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7