AgentInterfaceAttribute(String, String, 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.
Declares a transport protocol for interacting with the agent. This allows agents to expose the same functionality over multiple transport mechanisms.
public AgentInterfaceAttribute(string protocol, string path, string? processDelegate = default);
new Microsoft.Agents.Builder.App.AgentInterfaceAttribute : string * string * string -> Microsoft.Agents.Builder.App.AgentInterfaceAttribute
Public Sub New (protocol As String, path As String, Optional processDelegate As String = Nothing)
Parameters
- protocol
- String
- path
- String
- processDelegate
- String
Remarks
This is optional if there is a single AgentApplication in the project. If there are multiple AgentApplications, this attribute must be used to specify the transport protocol and path for each AgentApplication.
The protocol argument is host and protocol specific. In Agents SDK, see AgentTransportProtocol.