ProtocolBuilder.YieldsOutput<TOutput> 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.
Adds the specified output type to the set of declared "yielded" output types for the protocol. Objects of this type will be allowed to be output from the executor through the WorkflowOutputEvent, via YieldOutputAsync(Object, CancellationToken).
public Microsoft.Agents.AI.Workflows.ProtocolBuilder YieldsOutput<TOutput>();
member this.YieldsOutput : unit -> Microsoft.Agents.AI.Workflows.ProtocolBuilder
Public Function YieldsOutput(Of TOutput) () As ProtocolBuilder
Type Parameters
- TOutput
The type to be declared.