Implement this interface if you want to receive event notification when the state of the command changes.
The IRemoteCommandEvents interface inherits from the IDispatch interface. IRemoteCommandEvents also has these types of members:
The IRemoteCommandEvents interface has these methods.
Is called when the job that contains the command changes.
Is called each time the command generates a line of output or an error occurs.
Is called each time the command generates output or an error occurs. The output is returned as a byte blob.
Is called when the state of the command changes.
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++.
For an example, see Executing Commands.
HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities