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



SI.PIXL.Client Namespace > PIXLClient Class > RunColonyDetectionWorkflow Method : RunColonyDetectionWorkflow(String,RunColonyDetectionWorkflowResponseCallback) Method
The workflow's ID.
A callback to invoke when the command has finished execution.
Run the Colony Detection workflow using the last used project template.
Syntax
'Declaration
 
Public Overloads Function RunColonyDetectionWorkflow( _
   ByVal id As String, _
   ByVal callback As RunColonyDetectionWorkflowResponseCallback _
) As Task
'Usage
 
Dim instance As PIXLClient
Dim id As String
Dim callback As RunColonyDetectionWorkflowResponseCallback
Dim value As Task
 
value = instance.RunColonyDetectionWorkflow(id, callback)
public Task RunColonyDetectionWorkflow( 
   string id,
   RunColonyDetectionWorkflowResponseCallback callback
)
public:
Task^ RunColonyDetectionWorkflow( 
   String^ id,
   RunColonyDetectionWorkflowResponseCallback^ callback
) 

Parameters

id
The workflow's ID.
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,RunColonyDetectionWorkflowResponseCallback) method.
// Run the Colony Detection workflow with the last used project template and display the result on the Console.
pixl.RunColonyDetectionWorkflow("1234", 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