NodeStateHandler Delegate
Defines the delegate that your application implements when you subscribe to the OnNodeState event.
Namespace: Microsoft.Hpc.Scheduler
Assembly: Microsoft.Hpc.Scheduler (in Microsoft.Hpc.Scheduler.dll)
Namespace: Microsoft.Hpc.Scheduler
Assembly: Microsoft.Hpc.Scheduler (in Microsoft.Hpc.Scheduler.dll)
/** @delegate */ public delegate void NodeStateHandler ( Object sender, NodeStateEventArg arg )
JScript does not support delegates.
Parameters
- sender
A SchedulerNode object that represents the node for which the state changed. Cast the object to an ISchedulerNode interface.
- arg
An INodeStateEventArg interface that provides information that is related to the change in the state of the node.
To get the node, cast the object in the sender parameter to an ISchedulerNode interface.
To determine the previous and new states of the node, cast the object in the args parameter to an INodeStateEventArg interface and get the value of the PreviousState and NewState properties.
Platform Note: This delegate is only supported for Windows HPC Server 2008 R2.
Development Platforms
Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012Target Platforms
Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, with HPC Pack Client Utilities
Build Date:
Community Additions
ADD
Show: