troubleshooting Question

Implement WCF Error Handling capturing operation parameters

Avatar of Gabriel_Espinoza
Gabriel_EspinozaFlag for Chile asked on
.NET ProgrammingC#WCF
4 Comments2 Solutions780 ViewsLast Modified:
Hello,

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!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros