Edit

Share via


InputValidationItem Class

Definition

[System.Runtime.Serialization.DataContract]
public class InputValidationItem : Microsoft.TeamFoundation.DistributedTask.WebApi.ValidationItem
type InputValidationItem = class
    inherit ValidationItem
Public Class InputValidationItem
Inherits ValidationItem
Inheritance
InputValidationItem
Attributes

Constructors

InputValidationItem()

Properties

Context

Provides binding context for the expression to evaluate

IsValid

Tells whether the current input is valid or not

(Inherited from ValidationItem)
Reason

Reason for input validation failure

(Inherited from ValidationItem)
Type

Type of validation item

(Inherited from ValidationItem)
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')

(Inherited from ValidationItem)

Applies to