Share via


ProtocolDescriptor Class

Definition

Describes the protocol for communication with a Workflow or Executor.

public class ProtocolDescriptor
type ProtocolDescriptor = class
Public Class ProtocolDescriptor
Inheritance
ProtocolDescriptor

Properties

Name Description
Accepts

Get the collection of types explicitly accepted by the Workflow or Executor.

AcceptsAll

Gets a value indicating whether the Workflow or Executor has a "catch-all" handler.

Sends

Gets the collection of types that could be sent from the Executor. This is always empty for a Workflow.

Yields

Gets the collection of types that could be yielded as output by the Workflow or Executor.

Extension Methods

Name Description
IsChatProtocol(ProtocolDescriptor, Boolean)

Determines whether the specified protocol descriptor represents the Agent Workflow Chat Protocol.

ThrowIfNotChatProtocol(ProtocolDescriptor, Boolean)

Throws an exception if the specified protocol descriptor does not represent a valid chat protocol.

Applies to