IPresenterControl.LogException Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
LogException(Exception, TraceEventType) | |
LogException(String, TraceEventType, Exception) |
LogException(Exception, TraceEventType)
public:
void LogException(Exception ^ ex, System::Diagnostics::TraceEventType eventType);
public void LogException (Exception ex, System.Diagnostics.TraceEventType eventType);
abstract member LogException : Exception * System.Diagnostics.TraceEventType -> unit
Public Sub LogException (ex As Exception, eventType As TraceEventType)
Parameters
- ex
- Exception
- eventType
- TraceEventType
Applies to
LogException(String, TraceEventType, Exception)
public:
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
Public Sub LogException (errorMessage As String, eventType As TraceEventType, ex As Exception)
Parameters
- errorMessage
- String
- eventType
- TraceEventType
- ex
- Exception