ITask.ErrorMessage Property
Retrieves the task error message.
Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)
Usage
Syntax
'Declaration
ReadOnly Property ErrorMessage As String
string ErrorMessage { get; }
property String^ ErrorMessage {
String^ get ();
}
/** @property */
String get_ErrorMessage ()
function get ErrorMessage () : String
Property Value
The task error message.
Remarks
The message contains the last message that was set for the task. The message can be a run-time error message or the message passed to the ICluster.CancelTask method.
Check the message if the task status is Failed or Cancelled.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Microsoft Windows Compute Cluster Server 2003, Windows Server 2003, Windows XP
Target Platforms
Microsoft Windows Compute Cluster Server 2003, Windows Server 2003 with Compute Cluster Pack Client Utilities, Windows XP with Compute Cluster Pack Client Utilities
See Also
Reference
ITask Interface
ITask Members
Microsoft.ComputeCluster Namespace
ICluster.CancelTask Method
ICluster.ErrorMessage Property
IJob.ErrorMessage Property
TaskStatus