SaaS CMS has officially launched! Learn more now.

Class CircularReferenceException

Exception class thrown when an invalid circular reference is detected.

Inheritance
System.Object
CircularReferenceException
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public class CircularReferenceException : InvalidOperationException

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

Extension Methods