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