SessionTarget.FromAgent(AgentSessionConfig) Method
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.
Creates a session target for an agent-centric session.
public static Azure.AI.VoiceLive.SessionTarget FromAgent(Azure.AI.VoiceLive.AgentSessionConfig agentConfig);
static member FromAgent : Azure.AI.VoiceLive.AgentSessionConfig -> Azure.AI.VoiceLive.SessionTarget
Public Shared Function FromAgent (agentConfig As AgentSessionConfig) As SessionTarget
Parameters
- agentConfig
- AgentSessionConfig
The agent configuration to use for the session.
Returns
A SessionTarget configured for an agent session.
Exceptions
agentConfig is null.