AgenticHeaderProvider(IActivity, String) 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 AgenticHeaderProvider.
public AgenticHeaderProvider(Microsoft.Agents.Core.Models.IActivity activity, string agentName);
new Microsoft.Agents.Core.HeaderPropagation.AgenticHeaderProvider : Microsoft.Agents.Core.Models.IActivity * string -> Microsoft.Agents.Core.HeaderPropagation.AgenticHeaderProvider
Public Sub New (activity As IActivity, agentName As String)
Parameters
- activity
- IActivity
The incoming activity to derive header values from.
- agentName
- String
The human-friendly agent name (typically from the [Agent] attribute).