DurableAgentThread 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.
An agent thread implementation for durable agents.
public sealed class DurableAgentThread : Microsoft.Agents.AI.AgentThread
type DurableAgentThread = class
inherit AgentThread
Public NotInheritable Class DurableAgentThread
Inherits AgentThread
- Inheritance
Methods
| Name | Description |
|---|---|
| GetService(Type, Object) |
Asks the AgentThread for an object of the specified type |
| GetService<TService>(Object) |
Asks the AgentThread for an object of type |
| Serialize(JsonSerializerOptions) |
Serializes the current object's state to a JsonElement using the specified serialization options. |
| ToString() | Returns a string that represents the current object. |