AgentSessionStatus Struct
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.
The status of an agent session.
public readonly struct AgentSessionStatus : IEquatable<Azure.AI.Projects.Agents.AgentSessionStatus>
type AgentSessionStatus = struct
Public Structure AgentSessionStatus
Implements IEquatable(Of AgentSessionStatus)
- Inheritance
-
AgentSessionStatus
- Implements
Constructors
| Name | Description |
|---|---|
| AgentSessionStatus(String) |
Initializes a new instance of AgentSessionStatus. |
Properties
| Name | Description |
|---|---|
| Active |
Session is running and operational. |
| Creating |
Session initialization is in progress. |
| Deleted |
Session has been explicitly deleted. |
| Deleting |
Session is being deleted (cleanup in progress). |
| Expired |
Session TTL exceeded (30 days from last activity). |
| Failed |
Session initialization or lifecycle handling failed and requires delete to recover. |
| Idle |
Session sandbox is auto-suspended; resumes on next invocation. |
| Updating |
Reserved for future session re-parenting flows. |
Methods
| Name | Description |
|---|---|
| Equals(AgentSessionStatus) |
Indicates whether the current object is equal to another object of the same type. |
| ToString() |
Returns the fully qualified type name of this instance. |
Operators
| Name | Description |
|---|---|
| Equality(AgentSessionStatus, AgentSessionStatus) |
Determines if two AgentSessionStatus values are the same. |
| Implicit(String to AgentSessionStatus) |
Converts a string to a AgentSessionStatus. |
| Implicit(String to Nullable<AgentSessionStatus>) | |
| Inequality(AgentSessionStatus, AgentSessionStatus) |
Determines if two AgentSessionStatus values are not the same. |