CrystalXmlCycleException
Namespace: SnowBank.Data.Xml · class
Implements: InvalidOperationException, ISerializable
Error thrown when a reference cycle is detected while serializing an object graph to XML
Remarks
A genuine cycle has no representation in either XML profile (never z:Id/z:Ref references), so it is always a typed error. The guard cannot tell a cycle from a graph nested deeper than : both raise this exception.
Constructors
CrystalXmlCycleException
CrystalXmlCycleException(Type type)
Reports that a reference cycle was detected while serializing an instance of type
CrystalXmlCycleException(Type type, string message)
Reports that a reference cycle was detected while serializing an instance of type, with a custom explanation
Properties
Type
Type Type { get; }
Type of the instance at which the reference cycle was detected
Methods
GetObjectData
void GetObjectData(SerializationInfo info, StreamingContext context)