I would like to implement a log class which captures all errors in my WCF Service.
I have created the procedures to log in Windows Event Log, but I don't know how to implement the ErrorHandling class to capture even the parameters of the Operation it was executing when the error occurred.
I have created a Global Error Handler In WCF
using IErrorHandler but it seems it only gets the exception.
Is there a way to obtain parameters of the method/function/operation it was executing when the error occurred?
Pls help me even if I have to create a custom Excepcion class or whatever.
in advance, many, many thanks!