layout: default title: InvalidChildElementException parent: Core Classes —
dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Exceptions
InvalidChildElementException Class
Exception thrown when a component is added to the wrong type of parent component.
public class InvalidChildElementException : System.Exception
Inheritance System.Object 🡒 System.Exception 🡒 InvalidChildElementException
Constructors
InvalidChildElementException(string, string) Constructor
Constructs an InvalidChildElementException.
public InvalidChildElementException(string parentType, string childType);
Parameters
parentType
System.String
The parent type attempting to register the child.
childType
System.String
The child type attempting to register with the parent.