ProtocolDescriptor Class
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.
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. |