Error Serializing a CLR object for use in a WCF service
- by user208662
Hello,
I have written a custom exception object. The reason for this is I want to track additional information when an error occurs. My CLR object is defined as follows:
public class MyException : Exception
{
public override string StackTrace
{
get { return base.StackTrace; }
}
private readonly string stackTrace;
public override…