Bagikan melalui


AgentSettings.MaxWaitTime Property

Gets a TimeSpan object describing the maximum amount of time to wait for a build agent to become available.

Namespace:  Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)

Syntax

'Declaration
<BrowsableAttribute(True)> _
Public Property MaxWaitTime As TimeSpan
[BrowsableAttribute(true)]
public TimeSpan MaxWaitTime { get; set; }
[BrowsableAttribute(true)]
public:
property TimeSpan MaxWaitTime {
    TimeSpan get ();
    void set (TimeSpan value);
}
[<BrowsableAttribute(true)>]
member MaxWaitTime : TimeSpan with get, set
function get MaxWaitTime () : TimeSpan
function set MaxWaitTime (value : TimeSpan)

Property Value

Type: System.TimeSpan
A TimeSpan object describing the maximum amount of time to wait for a build agent to become available.

.NET Framework Security

See Also

Reference

AgentSettings Class

Microsoft.TeamFoundation.Build.Workflow.Activities Namespace