Export (0) Print
Expand All
Expand Minimize

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)

'Usage
Dim instance As New NodeStateHandler(AddressOf HandlerMethod)

public delegate void NodeStateHandler (
	Object sender,
	NodeStateEventArg arg
)
/** @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 2012

Target 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:

2013-04-22

Community Additions

ADD
Show:
© 2015 Microsoft