CopilotStudioAgent(CopilotClient, ILoggerFactory) 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 CopilotStudioAgent class.
public CopilotStudioAgent(Microsoft.Agents.CopilotStudio.Client.CopilotClient client, Microsoft.Extensions.Logging.ILoggerFactory? loggerFactory = default);
new Microsoft.Agents.AI.CopilotStudio.CopilotStudioAgent : Microsoft.Agents.CopilotStudio.Client.CopilotClient * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.Agents.AI.CopilotStudio.CopilotStudioAgent
Public Sub New (client As CopilotClient, Optional loggerFactory As ILoggerFactory = Nothing)
Parameters
- client
- CopilotClient
A client used to interact with the Copilot Agent service.
- loggerFactory
- ILoggerFactory
Optional logger factory to use for logging.