Share via


StatefulExecutor<TState,TInput>.ConfigureProtocol Method

Definition

Configures the protocol by setting up routes and declaring the message types used for sending and yielding output.

protected override Microsoft.Agents.AI.Workflows.ProtocolBuilder ConfigureProtocol(Microsoft.Agents.AI.Workflows.ProtocolBuilder protocolBuilder);
override this.ConfigureProtocol : Microsoft.Agents.AI.Workflows.ProtocolBuilder -> Microsoft.Agents.AI.Workflows.ProtocolBuilder
Protected Overrides 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.

Applies to