System.Reflection.TargetInvocationException
E704384
System.Reflection.TargetInvocationException is a .NET exception type that wraps and reports errors thrown by methods invoked dynamically via reflection.
All labels observed (1)
| Label | Occurrences |
|---|---|
| System.Reflection.TargetInvocationException canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T7897602 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: System.Reflection.TargetInvocationException Context triple: [System.Reflection, containsType, System.Reflection.TargetInvocationException]
-
A.
System.Reflection.TargetException
System.Reflection.TargetException is a .NET exception type thrown when an attempt to invoke a method or access a member via reflection is made on an incompatible or incorrect target object.
-
B.
System.Reflection.ReflectionTypeLoadException
System.Reflection.ReflectionTypeLoadException is a .NET exception type thrown when one or more types in an assembly cannot be loaded during reflection, providing details about the specific loader failures.
-
C.
System.Reflection.AmbiguousMatchException
System.Reflection.AmbiguousMatchException is a .NET exception thrown when reflection operations encounter multiple members that match a binding criteria and cannot determine a single unambiguous result.
-
D.
System.Reflection.InvalidFilterCriteriaException
System.Reflection.InvalidFilterCriteriaException is a .NET exception type thrown when an invalid filter criterion is used during reflection-based member searches.
-
E.
System.Reflection.TargetedPatchingOptOutAttribute
System.Reflection.TargetedPatchingOptOutAttribute is a .NET attribute used to mark methods or classes as excluded from certain optimizations so they can be more easily inlined or patched across assembly boundaries.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: System.Reflection.TargetInvocationException Target entity description: System.Reflection.TargetInvocationException is a .NET exception type that wraps and reports errors thrown by methods invoked dynamically via reflection.
-
A.
System.Reflection.TargetException
System.Reflection.TargetException is a .NET exception type thrown when an attempt to invoke a method or access a member via reflection is made on an incompatible or incorrect target object.
-
B.
System.Reflection.ReflectionTypeLoadException
System.Reflection.ReflectionTypeLoadException is a .NET exception type thrown when one or more types in an assembly cannot be loaded during reflection, providing details about the specific loader failures.
-
C.
System.Reflection.AmbiguousMatchException
System.Reflection.AmbiguousMatchException is a .NET exception thrown when reflection operations encounter multiple members that match a binding criteria and cannot determine a single unambiguous result.
-
D.
System.Reflection.InvalidFilterCriteriaException
System.Reflection.InvalidFilterCriteriaException is a .NET exception type thrown when an invalid filter criterion is used during reflection-based member searches.
-
E.
System.Reflection.TargetedPatchingOptOutAttribute
System.Reflection.TargetedPatchingOptOutAttribute is a .NET attribute used to mark methods or classes as excluded from certain optimizations so they can be more easily inlined or patched across assembly boundaries.
- F. None of above. chosen
Statements (46)
| Predicate | Object |
|---|---|
| instanceOf |
.NET exception type
ⓘ
System.Exception subclass ⓘ |
| accessibility | public ⓘ |
| assembly |
System.Runtime
NERFINISHED
ⓘ
mscorlib NERFINISHED ⓘ |
| canBeInherited | true ⓘ |
| category | reflection-related exception ⓘ |
| CLSCompliant | true ⓘ |
| commonUsage | to inspect InnerException for actual error ⓘ |
| definedInLanguage |
C#
NERFINISHED
ⓘ
F# NERFINISHED ⓘ VB.NET NERFINISHED ⓘ |
| documentation | https://learn.microsoft.com/dotnet/api/system.reflection.targetinvocationexception ⓘ |
| errorCategory | runtime error ⓘ |
| exceptionHierarchyLevel | second-level under System.Exception ⓘ |
| fullName | System.Reflection.TargetInvocationException NERFINISHED ⓘ |
| hasConstructor |
TargetInvocationException()
NERFINISHED
ⓘ
TargetInvocationException(SerializationInfo info, StreamingContext context) ⓘ TargetInvocationException(string message) NERFINISHED ⓘ TargetInvocationException(string message, Exception innerException) ⓘ |
| hasProperty |
HelpLink
ⓘ
InnerException ⓘ Message ⓘ Source ⓘ StackTrace ⓘ |
| implements | ISerializable ⓘ |
| inheritsFrom | System.Exception NERFINISHED ⓘ |
| introducedIn | .NET Framework 1.0 NERFINISHED ⓘ |
| isSealed | false ⓘ |
| isSerializable | true ⓘ |
| memberType | class ⓘ |
| namespace | System.Reflection NERFINISHED ⓘ |
| platform |
.NET 5+
ⓘ
.NET Core NERFINISHED ⓘ .NET Framework NERFINISHED ⓘ |
| purpose | wraps exceptions thrown by methods invoked via reflection ⓘ |
| requires | System.Reflection namespace import to reference by name ⓘ |
| thrownWhen | invoked member throws an exception during reflection call ⓘ |
| typicalHandling | catch TargetInvocationException and rethrow InnerException ⓘ |
| usedBy |
Activator.CreateInstance
ⓘ
ConstructorInfo.Invoke NERFINISHED ⓘ MethodBase.Invoke ⓘ System.Delegate.DynamicInvoke ⓘ System.Reflection.MethodInfo.Invoke NERFINISHED ⓘ |
| wraps |
exception thrown by dynamically invoked constructor
ⓘ
exception thrown by dynamically invoked method ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: System.Reflection.TargetInvocationException Description of subject: System.Reflection.TargetInvocationException is a .NET exception type that wraps and reports errors thrown by methods invoked dynamically via reflection.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.