Sdílet prostřednictvím


ExtendedCommandHandler.OnErrorMessage(String, Exception) Metoda

Definice

Volá se infrastrukturou, když analyzátor hlásí chybu nebo informační zprávu. Výchozí implementace neprovede nic.

protected internal virtual void OnErrorMessage (string message, Exception? exception);
abstract member OnErrorMessage : string * Exception -> unit
override this.OnErrorMessage : string * Exception -> unit
Protected Friend Overridable Sub OnErrorMessage (message As String, exception As Exception)

Parametry

message
String

Text zprávy

exception
Exception

Zjištěná výjimka (může mít hodnotu null)

Platí pro