System.Web.Configuration.WebConfigurationHost.GetConfigType C# (CSharp) Méthode

GetConfigType() public méthode

public GetConfigType ( string typeName, bool throwOnError ) : Type
typeName string
throwOnError bool
Résultat System.Type
		public virtual Type GetConfigType (string typeName, bool throwOnError)
		{
		        Type type = HttpApplication.LoadType (typeName);
			if (type == null && throwOnError)
				throw new ConfigurationErrorsException ("Type not found: '" + typeName + "'");
			return type;
		}