Singer Instruments PIXL Client
RunColonyDetectionWorkflow(String,String,RunColonyDetectionWorkflowResponseCallback) Method
Example 



SI.PIXL.Client Namespace > PIXLClient Class > RunColonyDetectionWorkflow Method : RunColonyDetectionWorkflow(String,String,RunColonyDetectionWorkflowResponseCallback) Method
The workflow's ID.
The name of the project template to use. If this is empty the last used settings will be used.
A callback to invoke when the command has finished execution.
Run the Colony Detection workflow using a specified project template.
Syntax
'Declaration
 
Public Overloads Function RunColonyDetectionWorkflow( _
   ByVal id As String, _
   ByVal projectTemplateName As String, _
   ByVal callback As RunColonyDetectionWorkflowResponseCallback _
) As Task
'Usage
 
Dim instance As PIXLClient
Dim id As String
Dim projectTemplateName As String
Dim callback As RunColonyDetectionWorkflowResponseCallback
Dim value As Task
 
value = instance.RunColonyDetectionWorkflow(id, projectTemplateName, callback)

Parameters

id
The workflow's ID.
projectTemplateName
The name of the project template to use. If this is empty the last used settings will be used.
callback
A callback to invoke when the command has finished execution.

Return Value

The result of the action.
Example
This sample shows how to use the RunColonyDetectionWorkflow(String,String,RunColonyDetectionWorkflowResponseCallback) method.
// Run the Colony Detection workflow with the last used project template and display the result on the Console.
pixl.RunColonyDetectionWorkflow("1234", string.Empty, x => Console.WriteLine(x.Result.Message));
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PIXLClient Class
PIXLClient Members
Overload List