CommandTaskStateEventArg CommandTaskStateEventArg CommandTaskStateEventArg Class


Defines the arguments that are passed to your event handler when the state of the command changes.

public class CommandTaskStateEventArg : Microsoft.Hpc.Scheduler.TaskStateEventArg, Microsoft.Hpc.Scheduler.ICommandTaskStateEventArg
type CommandTaskStateEventArg = class
    inherit TaskStateEventArg
    interface ICommandTaskStateEventArg
    interface ITaskStateEventArg
Public Class CommandTaskStateEventArg
Inherits TaskStateEventArg
Implements ICommandTaskStateEventArg


ErrorMessage ErrorMessage ErrorMessage

Retrieves the error message associated with the error that occurred while running the command.

ExitCode ExitCode ExitCode

Retrieves the exit code that the command set.

IsProxy IsProxy IsProxy

Indicates that the output is coming from a proxy task.

JobId JobId JobId

Retrieves the identifier of the job that contains the task whose state has changed.

(Inherited from TaskStateEventArg)
NewState NewState NewState

Retrieves the state of the task.

(Inherited from TaskStateEventArg)
NodeName NodeName NodeName

Retrieves the name of the node that is running the command.

PreviousState PreviousState PreviousState

Retrieves the previous state of the task.

(Inherited from TaskStateEventArg)
TaskId TaskId TaskId

Retrieves the identifier that uniquely identifies the task in a job.

(Inherited from TaskStateEventArg)

Applies to