Share via


IRemoteCommandEvents interface

Implement this interface if you want to receive event notification when the state of the command changes.

Members

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

  • Methods

Methods

The IRemoteCommandEvents interface has these methods.

Method Description
OnCommandJobState

Is called when the job that contains the command changes.

OnCommandOutput

Is called each time the command generates a line of output or an error occurs.

OnCommandRawOutput

Is called each time the command generates output or an error occurs. The output is returned as a byte blob.

OnCommandTaskState

Is called when the state of the command changes.

 

Remarks

You must implement all methods in this interface. You will receive notification for each event—you cannot specify the types of events you want to receive. You cannot rely on the order in which you receive the events. The order of events is indeterminate. For details on implementing this interface, see Implementing the Event Handlers for Command Events in C++.

Examples

For an example, see Executing Commands.

Requirements

Product

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

Type library

Microsoft.Hpc.Scheduler.tlb

See also

HPC Interfaces

IRemoteCommand