CommandOutputHandler Delegate
Defines the delegate to implement when you subscribe to the IRemoteCommand.OnCommandOutput 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 CommandOutputHandler ( Object sender, CommandOutputEventArg arg )
JScript does not support delegates.
Parameters
- sender
The Scheduler object.
- arg
A CommandOutputEventArg 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 a 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 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: