GetTaskChildProcessId Method
Returns the ID of the child process of a task that is an executable, using the specified job.
Namespace: Microsoft.Web.Media.TransformManager
Assembly: Microsoft.Web.Media.TransformManager.Common (in Microsoft.Web.Media.TransformManager.Common.dll)
Syntax
'Declaration
Public Overrides Function GetTaskChildProcessId ( _
jobInstanceId As String _
) As Integer
'Usage
Dim instance As LocalScheduler
Dim jobInstanceId As String
Dim returnValue As Integer
returnValue = instance.GetTaskChildProcessId(jobInstanceId)
public override int GetTaskChildProcessId(
string jobInstanceId
)
public:
virtual int GetTaskChildProcessId(
String^ jobInstanceId
) override
abstract GetTaskChildProcessId :
jobInstanceId:string -> int
override GetTaskChildProcessId :
jobInstanceId:string -> int
public override function GetTaskChildProcessId(
jobInstanceId : String
) : int
Parameters
- jobInstanceId
Type: System. . :: . .String
The ID of the job.
Return Value
Type: System. . :: . .Int32
The ID of a child process of a command-line task.
Remarks
If the current task is a command-line executable, the task engine creates a process to invoke the command. The ID of the child task is written into a user data store that is kept for all tasks.