ICommandTaskStateEventArg interface

Identifies the node that is reporting the state change. This interface is passed to your implementation of the IRemoteCommandEvents::OnCommandTaskState event handler.

Members

The ICommandTaskStateEventArg interface inherits from the IDispatch interface. ICommandTaskStateEventArg also has these types of members:

  • Properties

Properties

The ICommandTaskStateEventArg interface has these properties.

Property Access type Description

ErrorMessage

Read-only

Retrieves the error message for the error that occurred while running the command.

ExitCode

Read-only

Retrieves the exit code that the command set.

IsProxy

Read-only

Determines if the output is coming from a proxy task.

NodeName

Read-only

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

 

Remarks

To get the state change information, query this interface for the ITaskStateEventArg interface.

Examples

For an example, see Implementing the Event Handlers for Command Events in C++.

Requirements

Product

HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities

Type library

Microsoft.Hpc.Scheduler.tlb

See also

HPC Interfaces

IJobStateEventArg

IRemoteCommandEvents