Here are the examples of the csharp api class System.Data.Common.ADP.TraceException(string, System.Exception) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
3 Examples
0
1. Example
View licensestatic internal void TraceExceptionAsReturnValue(Exception e) { TraceException("<comm.ADP.TraceException|ERR|THROW> '%ls'\n", e); }
0
2. Example
View licensestatic internal void TraceExceptionForCapture(Exception e) { Debug.Assert(ADP.IsCatchableExceptionType(e), "Invalid exception type, should have been re-thrown!"); TraceException("<comm.ADP.TraceException|ERR|CATCH> '%ls'\n", e); }
0
3. Example
View licensestatic internal void TraceExceptionWithoutRethrow(Exception e) { Debug.Assert(ADP.IsCatchableExceptionType(e), "Invalid exception type, should have been re-thrown!"); TraceException("<comm.ADP.TraceException|ERR|CATCH> '%ls'\n", e); }