okay,
Thanks for the quick reply,
I have my method something like this.
private int GetLineInformation(string lineNumber)
{
int result = 0;
try
{
return ExecuteExpectionHandledOperation(() =>
{
EventLogtoApp("GetLineId: "+result, EventLogEntryType.Information);
return result;
});
}
catch (Exception ex)
{
EventLogtoApp("Error in GetLineId: " + ex.Message, EventLogEntryType.Error);
}
return 0;
}
I need to get the exception details globally and the variables data(for example result(INT) for this method), used for the methods.
then I can email the details to the development team.