ValidationOptions 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.
Provides a mechanism for controlling validation behaviors.
public class ValidationOptions
type ValidationOptions = class
Public Class ValidationOptions
- Inheritance
-
ValidationOptions
Constructors
| Name | Description |
|---|---|
| ValidationOptions() | |
Properties
| Name | Description |
|---|---|
| AllowEmptyQueueTarget |
Gets or sets a value indicating whether or not a queue target without a queue should be considered an error. |
| DemandLatestAgent |
Gets or sets a value indicating whether to demand the latest agent version. |
| ResolveTaskInputAliases |
Gets or sets a value indicating whether input aliases defined in a task definition are honored. |
| RollupStepDemands |
Gets or sets a value indicating whether or not the individual step demands should be rolled up into their parent phase's demands. Settings this value to true will result in Phase's demand sets being a superset of their children's demands. |
| ValidateResources |
Gets or sets a value indicating whether or not to validate resource existence and other constraints. |
| ValidateStepNames |
Gets or sets a value indicating whether or not step names provided by the caller should be validated for correctness and uniqueness. Setting this value to false will automatically fix invalid step names and de-duplicate step names which may lead to unexpected behavior at runtime when binding output variables. |
| ValidateTaskInputs |
Gets or sets a value indicating whether or not to run input validation defined by the task author. |