ISchedulerNodeEvents::OnNodeState method

Receives information when the state of the node changes.

Syntax

void OnNodeState(
  [in] VARIANT            sender,
  [in] INodeStateEventArg *arg
);

Parameters

  • sender [in]
    A variant that contains a SchedulerNode object for the node for which the state changed.

  • arg [in]
    An INodeStateEventArg interface that provides information that is related to the change in the state of the node.

Return value

This method does not return a value.

Remarks

To receive information about changes in the state of a node, you need to implement this method in your application. This method is then called when the state of the node changes.

To get the node, query the pdispVal member of the sender parameter for the ISchedulerNode interface. Then, pass the INodeStateEventArg::nodeId property to the IScheduler::OpenNode method.

The dispatch identifier for this method is 0x60020000.

Requirements

Product

HPC Pack 2008 R2 Client Utilities

Type library

Microsoft.Hpc.Scheduler.tlb

See also

ISchedulerNodeEvents

INodeStateEventArg

ISchedulerNode