NullBotTelemetryClient.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 systeemuitzondering.
public 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 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 om te registreren.
- properties
- IDictionary<String,String>
Benoemde stringwaarden kun je gebruiken om deze uitzondering te classificeren en te zoeken.
- metrics
- IDictionary<String,Double>
Aanvullende waarden die bij deze uitzondering horen.