Share via


IJob.ErrorMessage Property

Retrieves the job 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 job error message.

Remarks

The message contains the last message that has been set for the job. The message can be a run-time error message or the message passed to the ICluster.CancelJob method.

Check the message if the job 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

IJob Interface
IJob Members
Microsoft.ComputeCluster Namespace
ICluster.ErrorMessage Property
ITask.ErrorMessage
JobStatus