Question:

You need to ensure that, for each exception, the central logging system logs the name of the method that caused the exception.

Which code segment should you insert at line AS12 in the ApplicationServices.vb file?

 

A Dim source As String = ex.StackTrace(0).ToString() 

B Dim source As String = ex.TargetSite.MethodHandle.Value.ToString() 

C Dim source As String = ex.Data("ExceptionSource").ToString() 

D Dim source As String = ex.TargetSite.Name 

+ Answer
+ Report
Total Preview: 476

Copyright © 2024. Powered by Intellect Software Ltd