AgentResponseEvent 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 |
|---|---|
| AgentResponseEvent(String, AgentResponse) |
Initializes a new instance of the AgentResponseEvent class. |
| AgentResponseEvent(String, AgentResponse, OutputTag) |
Initializes a new instance of the AgentResponseEvent class with the given output tag. |
| AgentResponseEvent(String, AgentResponse, IEnumerable<OutputTag>) |
Initializes a new instance of the AgentResponseEvent class with the given output tags. |
AgentResponseEvent(String, AgentResponse)
Initializes a new instance of the AgentResponseEvent class.
public AgentResponseEvent(string executorId, Microsoft.Agents.AI.AgentResponse response);
new Microsoft.Agents.AI.Workflows.AgentResponseEvent : string * Microsoft.Agents.AI.AgentResponse -> Microsoft.Agents.AI.Workflows.AgentResponseEvent
Public Sub New (executorId As String, response As AgentResponse)
Parameters
- executorId
- String
The identifier of the executor that generated this event.
- response
- AgentResponse
The agent response.
Applies to
AgentResponseEvent(String, AgentResponse, OutputTag)
Initializes a new instance of the AgentResponseEvent class with the given output tag.
public AgentResponseEvent(string executorId, Microsoft.Agents.AI.AgentResponse response, Microsoft.Agents.AI.Workflows.OutputTag tag);
new Microsoft.Agents.AI.Workflows.AgentResponseEvent : string * Microsoft.Agents.AI.AgentResponse * Microsoft.Agents.AI.Workflows.OutputTag -> Microsoft.Agents.AI.Workflows.AgentResponseEvent
Public Sub New (executorId As String, response As AgentResponse, tag As OutputTag)
Parameters
- executorId
- String
The identifier of the executor that generated this event.
- response
- AgentResponse
The agent response.
- tag
- OutputTag
The output tag to associate with this event.
Applies to
AgentResponseEvent(String, AgentResponse, IEnumerable<OutputTag>)
Initializes a new instance of the AgentResponseEvent class with the given output tags.
public AgentResponseEvent(string executorId, Microsoft.Agents.AI.AgentResponse response, System.Collections.Generic.IEnumerable<Microsoft.Agents.AI.Workflows.OutputTag>? tags);
new Microsoft.Agents.AI.Workflows.AgentResponseEvent : string * Microsoft.Agents.AI.AgentResponse * seq<Microsoft.Agents.AI.Workflows.OutputTag> -> Microsoft.Agents.AI.Workflows.AgentResponseEvent
Public Sub New (executorId As String, response As AgentResponse, tags As IEnumerable(Of OutputTag))
Parameters
- executorId
- String
The identifier of the executor that generated this event.
- response
- AgentResponse
The agent response.
- tags
- IEnumerable<OutputTag>
The output tags to associate with this event. May be null or empty.