Share via


PresenterControl2.LogException Method

Definition

Overloads

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

LogException(Exception, TraceEventType)

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

Parameters

eventType
TraceEventType

Implements

Applies to

LogException(String, TraceEventType, Exception)

public:
 virtual void LogException(System::String ^ errorMessage, System::Diagnostics::TraceEventType eventType, Exception ^ ex);
public void LogException (string errorMessage, System.Diagnostics.TraceEventType eventType, Exception ex);
abstract member LogException : string * System.Diagnostics.TraceEventType * Exception -> unit
override this.LogException : string * System.Diagnostics.TraceEventType * Exception -> unit
Public Sub LogException (errorMessage As String, eventType As TraceEventType, ex As Exception)

Parameters

errorMessage
String
eventType
TraceEventType

Implements

Applies to