InputValidationItem interface
- Extends
属性
context | 为要计算的表达式提供绑定上下文 |
继承属性
is |
指示当前输入是否有效 |
reason | 输入验证失败的原因 |
type | 验证项的类型 |
value | 要验证的值。 要为“expression”类型的输入验证的条件表达式 Eg:eq (variables['Build.SourceBranch'], 'refs/heads/master') ;eq (value, 'refs/heads/master') |
属性详细信息
context
继承属性详细信息
isValid
reason
type
value
要验证的值。 要为“expression”类型的输入验证的条件表达式 Eg:eq (variables['Build.SourceBranch'], 'refs/heads/master') ;eq (value, 'refs/heads/master')
value: string
属性值
string
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈