AgentModeProviderOptions.AgentMode(String, String) Constructor
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.
Initializes a new instance of the AgentModeProviderOptions.AgentMode class.
public AgentMode(string name, string description);
new Microsoft.Agents.AI.AgentModeProviderOptions.AgentMode : string * string -> Microsoft.Agents.AI.AgentModeProviderOptions.AgentMode
Public Sub New (name As String, description As String)
Parameters
- name
- String
The name of the mode.
- description
- String
A description of when and how to use this mode.
Exceptions
name or description is null.
name or description is empty or whitespace.