Activity overview
Latest activity by gkneo
Is it possible to show the form only for unhandled exceptions, but send reports in the background whenever I want ?
Imagine that I have a module which expects a response from a web service. The expected values are "A" or "B". For a particular reason, the web service returns "C", but my module handles this and shows a message to the user: "The service is down, try again later" An smartassembly report is sent in the background so the administrator is notified that the web service is doing wrong. Another module using a different web service also receives a bad response, but does not handle it and an unhandled exception is raised: smartassembly's form shows up to send the report.
I don't want to build from scratch this kind of "logging" system as I may use smartassembly's reporting feature. Is it possible? / comments
Is it possible to show the form only for unhandled exceptions, but send reports in the background whenever I want ?
Imagine that I have a module which expects a response from a web service. The e...
Hi, Chris.
Will this bring up the Exception Reporting Form(In case I had configured to do)?
I want to show this form only when an unhandled exception is thrown, but when I catch the exception then I want to send the report in the background.
Regards,
Guillermo. / comments
Hi, Chris.
Will this bring up the Exception Reporting Form(In case I had configured to do)?
I want to show this form only when an unhandled exception is thrown, but when I catch the exception then ...
Hi,
I have only found the following method to use in my SL app:
SmartAssembly.SmartExceptionsCore.UnhandledExceptionHandler.ReportException(Exception e, object[] obj)
It is located in the SmartExceptionsCoreSilverlight.dll library.
But this method doesn't work. I have used variations for the 2nd parameter and it always throws an exception: threw an exception of type 'System.TypeInitializationException'
base {System.SystemException}: {System.TypeInitializationException: Se produjo una excepción en el inicializador de tipo de 'SmartAssembly.SmartExceptionsCore.UnhandledExceptionHandler'. ---> System.FormatException: No se puede reconocer la cadena como un tipo booleano válido.
en System.Boolean.Parse(String value)
en System.Convert.ToBoolean(String value)
en SmartAssembly.SmartExceptionsCore.UnhandledExceptionHandler..cctor()
--- Fin del seguimiento de la pila de excepciones internas ---}
TypeName: "SmartAssembly.SmartExceptionsCore.UnhandledExceptionHandler"
As I said before, I want to report handled exceptions. Is this is the right method to use? / comments
Hi,
I have only found the following method to use in my SL app:
SmartAssembly.SmartExceptionsCore.UnhandledExceptionHandler.ReportException(Exception e, object[] obj)
It is locate...
Silverlight error logging
Hi,
Aside from catching unhandled exceptions in my Silverlight 4.0 app (currently built using PRISM), I want to log errors on handled exceptions. I mean, in my Silverlight client, I would have:
...