AgentState 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 operational state of an agent.
public readonly struct AgentState : IEquatable<Azure.AI.Projects.Agents.AgentState>
type AgentState = struct
Public Structure AgentState
Implements IEquatable(Of AgentState)
- Inheritance
-
AgentState
- Implements
Constructors
| Name | Description |
|---|---|
| AgentState(String) |
Initializes a new instance of AgentState. |
Properties
| Name | Description |
|---|---|
| Disabled |
Agent endpoint rejects all requests. |
| Enabled |
Agent endpoint accepts requests. This is the default state on creation. |
Methods
| Name | Description |
|---|---|
| Equals(AgentState) |
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(AgentState, AgentState) |
Determines if two AgentState values are the same. |
| Implicit(String to AgentState) |
Converts a string to a AgentState. |
| Implicit(String to Nullable<AgentState>) | |
| Inequality(AgentState, AgentState) |
Determines if two AgentState values are not the same. |