The type referenced by the specified RuntimeTypeHandle, or null if the RuntimeTypeHandle.Value property of handle is null.
Type Reason ArgumentNullException handle is null. System.Security.SecurityException The requested type is non-public and outside the current assembly, and the caller does not have the required permission. System.Reflection.TargetInvocationException A type initializer was invoked and threw an exception.
Type | Reason |
---|---|
System.Security.Permissions.ReflectionPermission | Requires permission to retrieve information on non-public objects. See System.Security.Permissions.ReflectionPermissionFlag.TypeInformation |