STrace.LogExCatch(Exception) 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.
Logs the fact that an exception was caught, together with the exception message and the stack trace.
public:
static void LogExCatch(Exception ^ ex);
[System.Diagnostics.Conditional("TRACE")]
public static void LogExCatch (Exception ex);
[<System.Diagnostics.Conditional("TRACE")>]
static member LogExCatch : Exception -> unit
Public Shared Sub LogExCatch (ex As Exception)
Parameters
- ex
- Exception
The exception message and stack trace.
- Attributes
Remarks
Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.