23 references to Format
System.Configuration.ConfigurationManager (23)
System\Configuration\BaseConfigurationRecord.cs (2)
1776SR.Format(SR.Config_namespace_invalid, xmlUtil.Reader.Value, ConfigurationNamespace), 3617SR.Format(SR.Decryption_failed, protectionProvider.Name, e.Message), e, filename, lineNumber);
System\Configuration\ConfigurationElement.cs (5)
1266SR.Format(format, attribToLockTrim, sb), 1270throw new ConfigurationErrorsException(SR.Format(format, 1293SR.Format(SR.Config_empty_lock_attributes_except, LockAllAttributesExceptKey, 1297SR.Format(SR.Config_empty_lock_element_except, LockAllElementsExceptKey, LockElementsKey), 1780throw new ConfigurationErrorsException(SR.Format(SR.Validator_element_not_valid, elem.ElementTagName,
System\Configuration\ConfigurationElementCollection.cs (3)
51throw new ArgumentException(SR.Format(SR.Item_name_reserved, DefaultAddItemName, value)); 61throw new ArgumentException(SR.Format(SR.Item_name_reserved, DefaultRemoveItemName, value)); 72throw new ArgumentException(SR.Format(SR.Item_name_reserved, DefaultClearItemsName, value));
System\Configuration\ConfigurationProperty.cs (5)
309throw new ConfigurationErrorsException(SR.Format(SR.Default_value_conversion_error_from_string, 340throw new ConfigurationErrorsException(SR.Format(SR.Top_level_conversion_error_from_string, Name, 364SR.Format(SR.Top_level_conversion_error_to_string, Name, ex.Message)); 377SR.Format(SR.Top_level_validation_error, Name, ex.Message), ex); 405throw new ConfigurationErrorsException(SR.Format(SR.No_converter, Name, Type.Name));
System\Configuration\ExceptionUtil.cs (2)
75SR.Format(SR.Wrapped_exception_message, outerMessage, e.Message), 83SR.Format(SR.Wrapped_exception_message, outerMessage, NoExceptionInformation),
System\Configuration\HandlerBase.cs (1)
19SR.Format(SR.Config_missing_required_attribute, attrib, node.Name),
System\Configuration\SettingsPropertyValue.cs (1)
145throw new ArgumentException(SR.Format(SR.Could_not_create_from_default_value, Property.Name, e.Message));
System\Configuration\SubclassTypeValidator.cs (1)
33throw new ArgumentException(SR.Format(SR.Subclass_validator_error, ((Type)value).FullName,
System\Configuration\TypeUtil.cs (1)
164SR.Format(SR.Config_type_doesnt_inherit_from_type, type.FullName, baseType.FullName));
System\Configuration\XmlUtil.cs (1)
282SR.Format(SR.Config_missing_required_attribute, attrib, Reader.Name),
System\Diagnostics\TraceUtils.cs (1)
46throw new ConfigurationErrorsException(SR.Format(SR.Incorrect_base_type, className, baseType.FullName));