ValidationItem 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.WebApi.ValidationItemJsonConverter))]
[System.Runtime.Serialization.DataContract]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.TeamFoundation.DistributedTask.WebApi.ExpressionValidationItem))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.TeamFoundation.DistributedTask.WebApi.InputValidationItem))]
public class ValidationItem
type ValidationItem = class
Public Class ValidationItem
- Inheritance
-
ValidationItem
- Derived
- Attributes
Constructors
ValidationItem(String) |
Properties
IsValid |
Tells whether the current input is valid or not |
Reason |
Reason for input validation failure |
Type |
Type of validation item |
Value |
Value to validate. The conditional expression to validate for the input for "expression" type Eg:eq(variables['Build.SourceBranch'], 'refs/heads/master');eq(value, 'refs/heads/master') |