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