ReconnectHandler Delegate

Defines the delegate that your application implements when you subscribe to the OnSchedulerReconnect event.


Namespace: Microsoft.Hpc.Scheduler
Assembly: Microsoft.Hpc.Scheduler (in Microsoft.Hpc.Scheduler.dll)

'Usage
Dim instance As New ReconnectHandler(AddressOf HandlerMethod)

public delegate void ReconnectHandler (
	Object sender,
	ConnectionEventArg msg
)
/** @delegate */
public delegate void ReconnectHandler (
	Object sender, 
	ConnectionEventArg msg
)
JScript does not support delegates.

Parameters

sender

A Scheduler object that represents the HPC Job Scheduler Service on the head node of the HPC cluster to which your application connected or reconnected, or from which your application disconnected. Cast the object to an IScheduler interface.

arg

A IConnectionEventArg interface that provides information that is related to change in connectivity between your application and the HPC Job Scheduler Service on the head node of the HPC cluster.

To determine how the connectivity between your application and the HPC Job Scheduler Service on the head node of the HPC cluster changed, cast the object in the args parameter to an IConnectionEventArg interface and get the value of the Code property.

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: