簡體   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