BotTelemetryClient.TrackException Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Registreert een systeem uitzondering.
public virtual void TrackException(Exception exception, System.Collections.Generic.IDictionary<string,string> properties = default, System.Collections.Generic.IDictionary<string,double> metrics = default);
abstract member TrackException : Exception * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, double> -> unit
override this.TrackException : Exception * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, double> -> unit
Public Overridable Sub TrackException (exception As Exception, Optional properties As IDictionary(Of String, String) = Nothing, Optional metrics As IDictionary(Of String, Double) = Nothing)
Parameters
- exception
- Exception
De uitzondering voor logboekregistratie.
- properties
- IDictionary<String,String>
Benoemde tekenreekswaarden die u kunt gebruiken om deze uitzondering te classificeren en ernaar te zoeken.
- metrics
- IDictionary<String,Double>
Aanvullende waarden die aan deze uitzondering zijn gekoppeld.