Executor.ConfigureProtocol(ProtocolBuilder) Method
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.
Configures the protocol by setting up routes and declaring the message types used for sending and yielding output.
protected abstract Microsoft.Agents.AI.Workflows.ProtocolBuilder ConfigureProtocol(Microsoft.Agents.AI.Workflows.ProtocolBuilder protocolBuilder);
abstract member ConfigureProtocol : Microsoft.Agents.AI.Workflows.ProtocolBuilder -> Microsoft.Agents.AI.Workflows.ProtocolBuilder
Protected MustOverride Function ConfigureProtocol (protocolBuilder As ProtocolBuilder) As ProtocolBuilder
Parameters
- protocolBuilder
- ProtocolBuilder
Returns
An instance of Microsoft.Agents.AI.Workflows.ExecutorProtocol that represents the fully configured protocol.
Remarks
This method serves as the primary entry point for protocol configuration. It integrates route setup and message type declarations. For backward compatibility, it is currently invoked from the RouteBuilder.