// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.Agents.AI.Workflows; /// /// Event triggered when a subworkflow encounters a warning-confition. /// sub-workflow. /// /// The warning message. /// The unique identifier of the sub-workflow that triggered the warning. Cannot be null or empty. public sealed class SubworkflowWarningEvent(string message, string subWorkflowId) : WorkflowWarningEvent(message) { /// /// The unique identifier of the sub-workflow that triggered the warning. /// public string SubWorkflowId { get; } = subWorkflowId; }