Language

PhaseTarget Class

Definition

[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
Newtonsoft.Json.JsonConverterAttribute DataContractAttribute KnownTypeAttribute

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.

Applies to