LEADTOOLS Workflow TWAIN (Leadtools.Workflow.Scan assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Execute Method
See Also 
Leadtools.Workflow.Scan Namespace > ScanActivity Class : Execute Method



executionContext
The System.Workflow.ComponentModel.ActivityExecutionContext to associate with this Activity and execution.

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.
Overrides Activity.Execute.

Syntax

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.

Remarks

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Workflow.Scan requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features