<PackageReference Include="Castle.Windsor" Version="5.1.0" />

ComponentRegistrationException

Exception threw when there is a problem registering a component
using Castle.Core.Internal; using System; using System.Runtime.Serialization; namespace Castle.MicroKernel { [Serializable] public class ComponentRegistrationException : Exception { public ComponentRegistrationException(string message) : base(message) { this.SetUp(); } public ComponentRegistrationException(string message, Exception innerException) : base(message, innerException) { this.SetUp(); } public ComponentRegistrationException(SerializationInfo info, StreamingContext context) : base(info, context) { this.SetUp(); } } }