繁体   English   中英

虚拟助手模板当前使用 TelemetryClient 但已弃用

[英]Virtual Assistant Template Currently Uses TelemetryClient But Is Deprecated

在虚拟助手模板 ( https://github.com/microsoft/botframework-solutions/tree/master/templates/Virtual-Assistant-Template/csharp/Template/VA ) 中,当前的Startup.cs文件在第 72 行使用TelemetryClient . 但是,根据这个 github 问题( https://github.com/microsoft/ApplicationInsights-dotnet/issues/1152 ),它正在被弃用。

为了解决这个问题,我应该在我的代码中进行什么建议的更改? 模板会更新以反映这一点吗?

TelemetryClient 没有被弃用。 根据您链接的问题,不推荐使用TelemetryConfiguration.Active 快速搜索 VA bot github repo 显示TelemetryConfiguration.Active未在 bot 中的任何地方使用:

github 存储库显示没有搜索 Telemetryconfiguration.active 的结果

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM