Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the task error message.
Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)
Usage
Syntax
'Declaration
<DefaultValueAttribute("")> _
<XmlAttributeAttribute> _
Public Property ErrorMessage As String
[DefaultValueAttribute("")]
[XmlAttributeAttribute]
public string ErrorMessage { get; set; }
[DefaultValueAttribute(L"")]
[XmlAttributeAttribute]
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 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 Cluster.CancelTask method.
Check the message if the task 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
Task Class
Task Members
Microsoft.ComputeCluster Namespace
Cluster.CancelTask Method
Cluster.ErrorMessage Property
Job.ErrorMessage Property
TaskStatus