AgentSettings.MaxExecutionTime Property
Gets a TimeSpan object describing the maximum amount of time to allow the build agent to complete its activities.
Namespace: Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly: Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
'Déclaration
<BrowsableAttribute(True)> _
Public Property MaxExecutionTime As TimeSpan
Get
Set
[BrowsableAttribute(true)]
public TimeSpan MaxExecutionTime { get; set; }
[BrowsableAttribute(true)]
public:
property TimeSpan MaxExecutionTime {
TimeSpan get ();
void set (TimeSpan value);
}
[<BrowsableAttribute(true)>]
member MaxExecutionTime : TimeSpan with get, set
function get MaxExecutionTime () : TimeSpan
function set MaxExecutionTime (value : TimeSpan)
Property Value
Type: System.TimeSpan
A TimeSpan object describing the maximum amount of time to allow the build agent to complete its activities.
.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