WorkflowOutputEvent Constructors
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.
Overloads
| Name | Description |
|---|---|
| WorkflowOutputEvent(Object, String) |
Initializes a new instance of the WorkflowOutputEvent class with no tags. |
| WorkflowOutputEvent(Object, String, OutputTag) |
Initializes a new instance of the WorkflowOutputEvent class carrying the given output tag. |
| WorkflowOutputEvent(Object, String, IEnumerable<OutputTag>) |
Initializes a new instance of the WorkflowOutputEvent class carrying the given output tags (deduplicated). |
WorkflowOutputEvent(Object, String)
Initializes a new instance of the WorkflowOutputEvent class with no tags.
public WorkflowOutputEvent(object data, string executorId);
new Microsoft.Agents.AI.Workflows.WorkflowOutputEvent : obj * string -> Microsoft.Agents.AI.Workflows.WorkflowOutputEvent
Public Sub New (data As Object, executorId As String)
Parameters
- data
- Object
The output data.
- executorId
- String
The identifier of the executor that yielded this output.
Applies to
WorkflowOutputEvent(Object, String, OutputTag)
Initializes a new instance of the WorkflowOutputEvent class carrying the given output tag.
public WorkflowOutputEvent(object data, string executorId, Microsoft.Agents.AI.Workflows.OutputTag tag);
new Microsoft.Agents.AI.Workflows.WorkflowOutputEvent : obj * string * Microsoft.Agents.AI.Workflows.OutputTag -> Microsoft.Agents.AI.Workflows.WorkflowOutputEvent
Public Sub New (data As Object, executorId As String, tag As OutputTag)
Parameters
- data
- Object
The output data.
- executorId
- String
The identifier of the executor that yielded this output.
- tag
- OutputTag
The single output tag to associate with this event.
Applies to
WorkflowOutputEvent(Object, String, IEnumerable<OutputTag>)
Initializes a new instance of the WorkflowOutputEvent class carrying the given output tags (deduplicated).
public WorkflowOutputEvent(object data, string executorId, System.Collections.Generic.IEnumerable<Microsoft.Agents.AI.Workflows.OutputTag>? tags);
new Microsoft.Agents.AI.Workflows.WorkflowOutputEvent : obj * string * seq<Microsoft.Agents.AI.Workflows.OutputTag> -> Microsoft.Agents.AI.Workflows.WorkflowOutputEvent
Public Sub New (data As Object, executorId As String, tags As IEnumerable(Of OutputTag))
Parameters
- data
- Object
The output data.
- executorId
- String
The identifier of the executor that yielded this output.
- tags
- IEnumerable<OutputTag>
The output tags to associate with this event. May be null or empty (the event is then untagged).