ISchedulerTask.ErrorMessage Property

Retrieves the task-related error message or task cancellation message.


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

'Usage
Dim instance As ISchedulerTask
Dim value As String

value = instance.ErrorMessage

string ErrorMessage { get; }
/** @property */
String get_ErrorMessage ()

function get ErrorMessage () : String

Property Value

The message.

The message contains the last run-time error message that was set for the task. The message can also contain the reason why the user canceled the task.

Check the message if the state of the task is Failed or Canceled.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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: