Class CircularReferenceException
Exception class thrown when an invalid circular reference is detected.
Inheritance
System.Object
System.Exception
System.SystemException
System.InvalidOperationException
CircularReferenceException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 11.20.7Syntax
public class CircularReferenceException : InvalidOperationException, ISerializable, _Exception
Constructors
CircularReferenceException()
Initializes a new instance of the CircularReferenceException class.
Declaration
public CircularReferenceException()
CircularReferenceException(SerializationInfo, StreamingContext)
Initializes a new instance of the CircularReferenceException class with serialized data.
Declaration
protected CircularReferenceException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
CircularReferenceException(Type)
Initializes a new instance of the CircularReferenceException class.
Declaration
public CircularReferenceException(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type that contained the circular reference. |
CircularReferenceException(Type, String)
Initializes a new instance of the CircularReferenceException class with a specified error message.
Declaration
public CircularReferenceException(Type type, string message)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type that contained the circular reference. |
System.String | message | The message that describes the error |
Properties
Type
Gets the Type that contained the circular reference.
Declaration
public Type Type { get; }
Property Value
Type | Description |
---|---|
System.Type |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception