Share via


AgentRequestMessageSourceAttribution Constructor

Definition

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.

Applies to