DeclarativeWorkflowValidationResult
NexusLabs.Foundry.MicrosoftAgentFramework.Workflows.Declarative¶
DeclarativeWorkflowValidationResult Class¶
The outcome of parsing a declarative workflow document.
public sealed record DeclarativeWorkflowValidationResult : System.IEquatable<NexusLabs.Foundry.MicrosoftAgentFramework.Workflows.Declarative.DeclarativeWorkflowValidationResult>
Inheritance System.Object 🡒 DeclarativeWorkflowValidationResult
Implements System.IEquatable<DeclarativeWorkflowValidationResult>
Remarks¶
Declarative workflows have no published JSON Schema, so parsing is the only validation available and it happens at run time. This type exists so a host can validate a document deliberately — at startup, in a test, or in a lint step — rather than discovering an authoring error partway through a run.
Properties¶
DeclarativeWorkflowValidationResult.ErrorMessage Property¶
Gets the parse failure detail, or null when IsValid is true.
Property Value¶
DeclarativeWorkflowValidationResult.IsValid Property¶
Gets whether the document parsed successfully.