AgentSkillFrontmatter.ValidateName(String, String) Method
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.
Validates a skill name against specification rules.
public static bool ValidateName(string? name, out string? reason);
static member ValidateName : string * string -> bool
Public Shared Function ValidateName (name As String, ByRef reason As String) As Boolean
Parameters
- name
- String
The skill name to validate (may be null).
- reason
- String
When validation fails, contains a human-readable description of the failure.
Returns
true if the name is valid; otherwise, false.