PhaseTarget Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Newtonsoft.Json.JsonConverter(typeof(Microsoft.TeamFoundation.DistributedTask.Pipelines.PhaseTargetJsonConverter))]
[System.Runtime.Serialization.DataContract]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.TeamFoundation.DistributedTask.Pipelines.AgentQueueTarget))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.TeamFoundation.DistributedTask.Pipelines.ServerTarget))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.TeamFoundation.DistributedTask.Pipelines.DeploymentGroupTarget))]
public abstract class PhaseTarget
type PhaseTarget = class
Public MustInherit Class PhaseTarget
- Inheritance
-
PhaseTarget
- Derived
- Attributes
Constructors
| Name | Description |
|---|---|
| PhaseTarget(PhaseTarget) | |
| PhaseTarget(PhaseTargetType) | |
Properties
| Name | Description |
|---|---|
| CancelTimeoutInMinutes |
Gets or sets a value which determines the maximum amount of time a job is allowed for cancellation. |
| ContinueOnError |
Gets or sets a value which determines whether or not to treat errors as terminal. |
| TimeoutInMinutes |
Gets or sets a value which determines the maximum amount of time a job is allowed to execute. |
| Type |
Get the type of target. |
Methods
| Name | Description |
|---|---|
| Clone() |
Creates a deep copy of the current instance. |
| IsValid(TaskDefinition) |
Indicates whether the task definition can run on the target. |