System.Configuration.TypeUtil.GetLegacyType C# (CSharp) Метод

GetLegacyType() статический приватный Метод

static private GetLegacyType ( string typeString ) : Type
typeString string
Результат System.Type
        static private Type GetLegacyType(string typeString) {
            Type type = null;

            //
            // Ignore all exceptions, otherwise callers will get unexpected
            // exceptions not related to the original failure to load the
            // desired type.
            //
            try {
                Assembly systemAssembly = typeof(ConfigurationException).Assembly;
                type = systemAssembly.GetType(typeString, false);
            }
            catch {
            }

            return type;
        }