CommandRawOutputHandler Delegate

Defines the delegate to implement when you subscribe to the IRemoteCommand.OnCommandRawOutput event.


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

'Usage
Dim instance As New CommandRawOutputHandler(AddressOf HandlerMethod)

public delegate void CommandRawOutputHandler (
	Object sender,
	CommandRawOutputEventArg arg
)
/** @delegate */
public delegate void CommandRawOutputHandler (
	Object sender, 
	CommandRawOutputEventArg arg
)
JScript does not support delegates.

Parameters

sender

The Scheduler object.

arg

A CommandRawOutputEventArg object that provides the output and related information.

To get the job that contains the command, cast the sender object to an IScheduler interface. Then, cast the arg parameter to an TaskStateEventArg object and pass the TaskStateEventArg.JobId property to the IScheduler.OpenJob method to get the job. To get the task that contains the command, pass the TaskStateEventArg.TaskId property to the ISchedulerJob.OpenTask method.


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: