AgentRequestMessageSourceAttribution Constructor
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.
Initializes a new instance of the AgentRequestMessageSourceAttribution struct with the specified source type and identifier.
public AgentRequestMessageSourceAttribution(Microsoft.Agents.AI.AgentRequestMessageSourceType sourceType, string? sourceId);
new Microsoft.Agents.AI.AgentRequestMessageSourceAttribution : Microsoft.Agents.AI.AgentRequestMessageSourceType * string -> Microsoft.Agents.AI.AgentRequestMessageSourceAttribution
Public Sub New (sourceType As AgentRequestMessageSourceType, sourceId As String)
Parameters
- sourceType
- AgentRequestMessageSourceType
The AgentRequestMessageSourceType of the component that provided the message.
- sourceId
- String
The unique identifier of the component that provided the message.