Hi,
Whats wrong here in the Code I am getting this error at the indicated line
Public Shared Sub LogInfo(ByVal ex As Exception)
Try
Dim trace As Diagnostics.StackTrace = New Diagnostics.StackTrace(ex, True)
Dim fileNames As String = trace.GetFrame((trace.FrameCount - 1)).GetFileName()
Dim lineNumber As Int32 = trace.GetFrame((trace.FrameCount - 1)).GetFileLineNumber()
Info("Error In" + fileNames + "Line Number" + lineNumber.ToString() + "Error Message" + ex.Message)
Catch
Throw
End Try
End Sub