Share via


PresenterControl.LogException Method

Definition

Overloads

LogException(Exception, TraceEventType)
LogException(String, TraceEventType, Exception)

LogException(Exception, TraceEventType)

protected void LogException (Exception ex, System.Diagnostics.TraceEventType eventType = System.Diagnostics.TraceEventType.Error);
member this.LogException : Exception * System.Diagnostics.TraceEventType -> unit
Protected Sub LogException (ex As Exception, Optional eventType As TraceEventType = System.Diagnostics.TraceEventType.Error)

Parameters

eventType
TraceEventType

Applies to

LogException(String, TraceEventType, Exception)

protected:
 void LogException(System::String ^ errorMessage, System::Diagnostics::TraceEventType eventType, Exception ^ ex);
protected void LogException (string errorMessage, System.Diagnostics.TraceEventType eventType, Exception ex);
member this.LogException : string * System.Diagnostics.TraceEventType * Exception -> unit
Protected Sub LogException (errorMessage As String, eventType As TraceEventType, ex As Exception)

Parameters

errorMessage
String
eventType
TraceEventType

Applies to