Share via


Task.EndTime Property

Retrieves the task end time.

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

Usage

Syntax

'Declaration
<XmlIgnoreAttribute> _
Public Property EndTime As DateTime
[XmlIgnoreAttribute] 
public DateTime EndTime { get; set; }
[XmlIgnoreAttribute] 
public:
virtual property DateTime EndTime {
    DateTime get () sealed;
    void set (DateTime value);
}
/** @property */
public final DateTime get_EndTime ()

/** @property */
public void set_EndTime (DateTime value)
public final function get EndTime () : DateTime

public function set EndTime (value : DateTime)

Property Value

The time that the task ended.

Remarks

The end time indicates when the task finished, failed, or was canceled. The value is DateTime.MaxValue if the task has not finished, failed, or been canceled. The time is reset if you queue a failed or canceled task again.

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
Task.CreateTime Property
StartTime