Share via


Executor.ConfigureProtocol(ProtocolBuilder) Method

Definition

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.

Applies to