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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.TeamFoundation.Build.Workflow.Activities Namespace