Class DependencyCycleException
Thrown when cycle is detected when resolving dependencies
Inheritance
Namespace: EPiServer.Framework.Dependencies
Assembly: EPiServer.Framework.dll
Version: 12.0.3Syntax
public class DependencyCycleException : InvalidOperationException
Constructors
DependencyCycleException()
Initializes a new instance of the Dependency
Declaration
public DependencyCycleException()
DependencyCycleException(IEnumerable<Object>)
Initializes a new instance of the Dependency
Declaration
public DependencyCycleException(IEnumerable<object> circularDependencies)
Parameters
Type | Name | Description |
---|---|---|
System. |
circularDependencies | The circular dependencies. |
DependencyCycleException(SerializationInfo, StreamingContext)
Initializes a new instance of the Dependency
Declaration
protected DependencyCycleException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System. |
info | The object that holds the serialized object data. |
System. |
context | The contextual information about the source or destination. |
DependencyCycleException(String)
Initializes a new instance of the Dependency
Declaration
public DependencyCycleException(string message)
Parameters
Type | Name | Description |
---|---|---|
System. |
message | The message. |
DependencyCycleException(String, IEnumerable<Object>)
Initializes a new instance of the Dependency
Declaration
public DependencyCycleException(string message, IEnumerable<object> circularDependencies)
Parameters
Type | Name | Description |
---|---|---|
System. |
message | The message. |
System. |
circularDependencies | The circular dependencies. |
DependencyCycleException(String, Exception)
Initializes a new instance of the Dependency
Declaration
public DependencyCycleException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System. |
message | The message. |
System. |
innerException | The inner exception. |
Properties
CircularDependencies
Gets dependencies that make a cycle.
Declaration
public IList<object> CircularDependencies { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
GetObjectData(SerializationInfo, StreamingContext)
When overridden in a derived class, sets the System.
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System. |
info | The System. |
System. |
context | The System. |
Exceptions
Type | Condition |
---|---|
System. |
The |
ToString()
Overriden. Returns a System.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |
A System. |