wrapper for run a background task process
RunSlavePipeline
01 Syntax
Microsoft.VisualBasic.CommandLine.InteropService.Pipeline.RunSlavePipeline
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 1 | create a new commandline pipeline task |
| ToString | 1 | get commandline of current background task, in string format like example as: /path/to/exe cli_arguments |
| SendMessage | 1 | pop out a taged message that tells the parent process to capture this message and echo to the text logger |
| Run | 1 | |
| Start | 1 | |
| Bind | 1 | |
| ProcessMessage | 1 | |
| HookProgress | 1 | |
| SendProgress | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| Arguments | 1 | the commandline argument of the target background task |
| Process | 1 | |
| CommandLine | 1 | |
| Shell | 1 | |
| std_input | 1 |
04 Fields
| Name | Overloads | Summary |
|---|---|---|
| app | 1 | the file full path to the target executable application file |
05 Events
| Name | Overloads | Summary |
|---|---|---|
| SetMessage | 2 | action of the string message |
| SetProgress | 1 | |
| Finish | 1 |
06 Members
#ctor(
String, String, String)create a new commandline pipeline task
Remarks
the commandline arguments could be in multiple lines
Parameters
| Name | Type | Description |
|---|---|---|
app | String | the commandline application |
arguments | String | the commandline argument string, value of this string parameter could be in multiple line |
workdir | String | - |
ToString
get commandline of current background task, in string format like example as: /path/to/exe cli_arguments
SendMessage(
String)pop out a taged message that tells the parent process to capture this message and echo to the text logger
Parameters
| Name | Type | Description |
|---|---|---|
message | String | - |
Arguments
the commandline argument of the target background task
app
the file full path to the target executable application file
SetMessage
action of the string message
Remarks
Action
Parameters
| Name | Description |
|---|---|
message | - |
Process
CommandLine
Shell
std_input
Run()
Start()
Bind(
Process)ProcessMessage(
String, Action(Of String), Action(Of Double, String))HookProgress(
RunSlavePipeline+SetProgressEventHandler)SendProgress(
Double, String)SetProgress
SetMessage
Finish