Share via


Job.ErrorMessage Property

Retrieves the job error message.

Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)

Usage

Syntax

'Declaration
<XmlAttributeAttribute> _
<DefaultValueAttribute("")> _
Public Property ErrorMessage As String
[XmlAttributeAttribute] 
[DefaultValueAttribute("")] 
public string ErrorMessage { get; set; }
[XmlAttributeAttribute] 
[DefaultValueAttribute(L"")] 
public:
virtual property String^ ErrorMessage {
    String^ get () sealed;
    void set (String^ value);
}
/** @property */
public final String get_ErrorMessage ()

/** @property */
public void set_ErrorMessage (String value)
public final function get ErrorMessage () : String

public function set ErrorMessage (value : 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 Cluster.CancelJob method.

Check the message if the job status is Failed or Cancelled.

Do not set this property.

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

Job Class
Job Members
Microsoft.ComputeCluster Namespace
Cluster.ErrorMessage Property
Task.ErrorMessage
JobStatus