Singer Instruments PIXL Client
RunRearrayWorkflowFromFile(String,String,String,String,RunRearrayWorkflowResponseCallback) Method
Example 



SI.PIXL.Client Namespace > PIXLClient Class > RunRearrayWorkflowFromFile Method : RunRearrayWorkflowFromFile(String,String,String,String,RunRearrayWorkflowResponseCallback) Method
The workflow's ID.
The name of the project template to use. If this is empty the last used settings will be used.
The name of the pinning profile to use. If this is not specified the profile from the workflow will be used.
A path to the re-array data file.
A callback to invoke when the command has finished execution.
Run the re-array workflow from a file.
Syntax
'Declaration
 
Public Overloads Function RunRearrayWorkflowFromFile( _
   ByVal id As String, _
   ByVal projectTemplateName As String, _
   ByVal pinningProfileName As String, _
   ByVal path As String, _
   ByVal callback As RunRearrayWorkflowResponseCallback _
) As Task
'Usage
 
Dim instance As PIXLClient
Dim id As String
Dim projectTemplateName As String
Dim pinningProfileName As String
Dim path As String
Dim callback As RunRearrayWorkflowResponseCallback
Dim value As Task
 
value = instance.RunRearrayWorkflowFromFile(id, projectTemplateName, pinningProfileName, path, 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.
pinningProfileName
The name of the pinning profile to use. If this is not specified the profile from the workflow will be used.
path
A path to the re-array data file.
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 RunRearrayWorkflowFromFile(String,String,String,String,RunRearrayWorkflowResponseCallback) method.
// Run the re-array workflow for a file called "d:\Test.csv" with the default project template and pinning profile and display the result on the Console..
pixl.RunRearrayWorkflowFromFile("1234", string.Empty, string.Empty, "d:\Test.csv", 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