Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / Configuration / ConfigurationStrings.cs / 1305376 / ConfigurationStrings.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Net.Configuration { using System; using System.Configuration; using System.Globalization; internal static class ConfigurationStrings { static string GetSectionPath(string sectionName) { return string.Format(CultureInfo.InvariantCulture, @"{0}/{1}", ConfigurationStrings.SectionGroupName, sectionName); } static string GetSectionPath(string sectionName, string subSectionName) { return string.Format(CultureInfo.InvariantCulture, @"{0}/{1}/{2}", ConfigurationStrings.SectionGroupName, sectionName, subSectionName); } /*static internal string ExceptionDataAsString(string prefix, ConfigurationProperty property, object propertyValue) { return string.Format(CultureInfo.CurrentUICulture, SR.GetString(SR.ConfigInvalidConfigurationValue), prefix, property.Name, propertyValue == null ? SR.GetString(SR.ConfigNull) : propertyValue.ToString()); }*/ static internal string AuthenticationModulesSectionPath { get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.AuthenticationModulesSectionName); } } static internal string ConnectionManagementSectionPath { get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.ConnectionManagementSectionName); } } static internal string DefaultProxySectionPath { get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.DefaultProxySectionName); } } /* Consider removing static internal string MailSettingsSectionPath { get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.MailSettingsSectionName); } } */ static internal string SmtpSectionPath { get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.MailSettingsSectionName, ConfigurationStrings.SmtpSectionName); } } static internal string RequestCachingSectionPath { get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.RequestCachingSectionName); } } static internal string SettingsSectionPath { get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.SettingsSectionName); } } static internal string WebRequestModulesSectionPath { get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.WebRequestModulesSectionName); } } internal const string Address = "address"; internal const string AutoDetect = "autoDetect"; internal const string AlwaysUseCompletionPortsForAccept = "alwaysUseCompletionPortsForAccept"; internal const string AlwaysUseCompletionPortsForConnect = "alwaysUseCompletionPortsForConnect"; internal const string AuthenticationModulesSectionName = "authenticationModules"; internal const string BypassList = "bypasslist"; internal const string BypassOnLocal = "bypassonlocal"; internal const string CheckCertificateName = "checkCertificateName"; internal const string CheckCertificateRevocationList = "checkCertificateRevocationList"; internal const string ClientDomain = "clientDomain"; internal const string ConnectionManagementSectionName = "connectionManagement"; internal const string DefaultCredentials = "defaultCredentials"; internal const string DefaultHttpCachePolicy = "defaultHttpCachePolicy"; internal const string DefaultFtpCachePolicy = "defaultFtpCachePolicy"; internal const string DefaultPolicyLevel = "defaultPolicyLevel"; internal const string DefaultProxySectionName = "defaultProxy"; internal const string DeliveryMethod = "deliveryMethod"; internal const string DisableAllCaching = "disableAllCaching"; internal const string DnsRefreshTimeout = "dnsRefreshTimeout"; internal const string DownloadTimeout = "downloadTimeout"; internal const string Enabled = "enabled"; internal const string EnableDnsRoundRobin = "enableDnsRoundRobin"; internal const string EnableSsl = "enableSsl"; internal const string EncryptionPolicy = "encryptionPolicy"; /* Not used with Managed JScript internal const string ExecutionTimeout = "executionTimeout"; */ internal const string Expect100Continue = "expect100Continue"; internal const string File = "file:"; internal const string From = "from"; internal const string Ftp = "ftp:"; internal const string Host = "host"; internal const string HttpWebRequest = "httpWebRequest"; internal const string HttpListener = "httpListener"; internal const string Http = "http:"; internal const string Https = "https:"; internal const string Ipv6 = "ipv6"; internal const string IsPrivateCache = "isPrivateCache"; internal const string IPProtectionLevel = "ipProtectionLevel"; internal const string MailSettingsSectionName = "mailSettings"; internal const string MaxConnection = "maxconnection"; internal const string MaximumAge = "maximumAge"; internal const string MaximumStale = "maximumStale"; internal const string MaximumResponseHeadersLength = "maximumResponseHeadersLength"; internal const string MaximumErrorResponseLength = "maximumErrorResponseLength"; internal const string MinimumFresh = "minimumFresh"; internal const string Module = "module"; internal const string Name = "name"; internal const string Network = "network"; internal const string Password = "password"; internal const string PerformanceCounters = "performanceCounters"; internal const string PickupDirectoryFromIis = "pickupDirectoryFromIis"; internal const string PickupDirectoryLocation = "pickupDirectoryLocation"; internal const string PolicyLevel = "policyLevel"; internal const string Port = "port"; internal const string Prefix = "prefix"; internal const string Proxy = "proxy"; internal const string ProxyAddress = "proxyaddress"; internal const string RequestCachingSectionName = "requestCaching"; internal const string ScriptLocation = "scriptLocation"; internal const string SectionGroupName = "system.net"; internal const string ServicePointManager = "servicePointManager"; internal const string SettingsSectionName = "settings"; internal const string SmtpSectionName = "smtp"; internal const string Socket = "socket"; internal const string SpecifiedPickupDirectory = "specifiedPickupDirectory"; internal const string TargetName = "targetName"; internal const string Type = "type"; internal const string UnspecifiedMaximumAge = "unspecifiedMaximumAge"; internal const string UseDefaultCredentials = "useDefaultCredentials"; internal const string UseNagleAlgorithm = "useNagleAlgorithm"; internal const string UseSystemDefault = "usesystemdefault"; internal const string UseUnsafeHeaderParsing = "useUnsafeHeaderParsing"; internal const string UserName = "userName"; internal const string WebProxyScript = "webProxyScript"; internal const string WebRequestModulesSectionName = "webRequestModules"; internal const string maximumUnauthorizedUploadLength = "maximumUnauthorizedUploadLength"; internal const string UnescapeRequestUrl = "unescapeRequestUrl"; } } namespace System.Configuration { using System; using System.Globalization; internal static class CommonConfigurationStrings { internal const string UriSectionName = "uri"; internal const string IriParsing = "iriParsing"; internal const string Idn = "idn"; internal const string Enabled = "enabled"; internal const string SchemeSettings = "schemeSettings"; internal const string SchemeName = "name"; internal const string GenericUriParserOptions = "genericUriParserOptions"; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Net.Configuration { using System; using System.Configuration; using System.Globalization; internal static class ConfigurationStrings { static string GetSectionPath(string sectionName) { return string.Format(CultureInfo.InvariantCulture, @"{0}/{1}", ConfigurationStrings.SectionGroupName, sectionName); } static string GetSectionPath(string sectionName, string subSectionName) { return string.Format(CultureInfo.InvariantCulture, @"{0}/{1}/{2}", ConfigurationStrings.SectionGroupName, sectionName, subSectionName); } /*static internal string ExceptionDataAsString(string prefix, ConfigurationProperty property, object propertyValue) { return string.Format(CultureInfo.CurrentUICulture, SR.GetString(SR.ConfigInvalidConfigurationValue), prefix, property.Name, propertyValue == null ? SR.GetString(SR.ConfigNull) : propertyValue.ToString()); }*/ static internal string AuthenticationModulesSectionPath { get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.AuthenticationModulesSectionName); } } static internal string ConnectionManagementSectionPath { get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.ConnectionManagementSectionName); } } static internal string DefaultProxySectionPath { get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.DefaultProxySectionName); } } /* Consider removing static internal string MailSettingsSectionPath { get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.MailSettingsSectionName); } } */ static internal string SmtpSectionPath { get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.MailSettingsSectionName, ConfigurationStrings.SmtpSectionName); } } static internal string RequestCachingSectionPath { get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.RequestCachingSectionName); } } static internal string SettingsSectionPath { get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.SettingsSectionName); } } static internal string WebRequestModulesSectionPath { get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.WebRequestModulesSectionName); } } internal const string Address = "address"; internal const string AutoDetect = "autoDetect"; internal const string AlwaysUseCompletionPortsForAccept = "alwaysUseCompletionPortsForAccept"; internal const string AlwaysUseCompletionPortsForConnect = "alwaysUseCompletionPortsForConnect"; internal const string AuthenticationModulesSectionName = "authenticationModules"; internal const string BypassList = "bypasslist"; internal const string BypassOnLocal = "bypassonlocal"; internal const string CheckCertificateName = "checkCertificateName"; internal const string CheckCertificateRevocationList = "checkCertificateRevocationList"; internal const string ClientDomain = "clientDomain"; internal const string ConnectionManagementSectionName = "connectionManagement"; internal const string DefaultCredentials = "defaultCredentials"; internal const string DefaultHttpCachePolicy = "defaultHttpCachePolicy"; internal const string DefaultFtpCachePolicy = "defaultFtpCachePolicy"; internal const string DefaultPolicyLevel = "defaultPolicyLevel"; internal const string DefaultProxySectionName = "defaultProxy"; internal const string DeliveryMethod = "deliveryMethod"; internal const string DisableAllCaching = "disableAllCaching"; internal const string DnsRefreshTimeout = "dnsRefreshTimeout"; internal const string DownloadTimeout = "downloadTimeout"; internal const string Enabled = "enabled"; internal const string EnableDnsRoundRobin = "enableDnsRoundRobin"; internal const string EnableSsl = "enableSsl"; internal const string EncryptionPolicy = "encryptionPolicy"; /* Not used with Managed JScript internal const string ExecutionTimeout = "executionTimeout"; */ internal const string Expect100Continue = "expect100Continue"; internal const string File = "file:"; internal const string From = "from"; internal const string Ftp = "ftp:"; internal const string Host = "host"; internal const string HttpWebRequest = "httpWebRequest"; internal const string HttpListener = "httpListener"; internal const string Http = "http:"; internal const string Https = "https:"; internal const string Ipv6 = "ipv6"; internal const string IsPrivateCache = "isPrivateCache"; internal const string IPProtectionLevel = "ipProtectionLevel"; internal const string MailSettingsSectionName = "mailSettings"; internal const string MaxConnection = "maxconnection"; internal const string MaximumAge = "maximumAge"; internal const string MaximumStale = "maximumStale"; internal const string MaximumResponseHeadersLength = "maximumResponseHeadersLength"; internal const string MaximumErrorResponseLength = "maximumErrorResponseLength"; internal const string MinimumFresh = "minimumFresh"; internal const string Module = "module"; internal const string Name = "name"; internal const string Network = "network"; internal const string Password = "password"; internal const string PerformanceCounters = "performanceCounters"; internal const string PickupDirectoryFromIis = "pickupDirectoryFromIis"; internal const string PickupDirectoryLocation = "pickupDirectoryLocation"; internal const string PolicyLevel = "policyLevel"; internal const string Port = "port"; internal const string Prefix = "prefix"; internal const string Proxy = "proxy"; internal const string ProxyAddress = "proxyaddress"; internal const string RequestCachingSectionName = "requestCaching"; internal const string ScriptLocation = "scriptLocation"; internal const string SectionGroupName = "system.net"; internal const string ServicePointManager = "servicePointManager"; internal const string SettingsSectionName = "settings"; internal const string SmtpSectionName = "smtp"; internal const string Socket = "socket"; internal const string SpecifiedPickupDirectory = "specifiedPickupDirectory"; internal const string TargetName = "targetName"; internal const string Type = "type"; internal const string UnspecifiedMaximumAge = "unspecifiedMaximumAge"; internal const string UseDefaultCredentials = "useDefaultCredentials"; internal const string UseNagleAlgorithm = "useNagleAlgorithm"; internal const string UseSystemDefault = "usesystemdefault"; internal const string UseUnsafeHeaderParsing = "useUnsafeHeaderParsing"; internal const string UserName = "userName"; internal const string WebProxyScript = "webProxyScript"; internal const string WebRequestModulesSectionName = "webRequestModules"; internal const string maximumUnauthorizedUploadLength = "maximumUnauthorizedUploadLength"; internal const string UnescapeRequestUrl = "unescapeRequestUrl"; } } namespace System.Configuration { using System; using System.Globalization; internal static class CommonConfigurationStrings { internal const string UriSectionName = "uri"; internal const string IriParsing = "iriParsing"; internal const string Idn = "idn"; internal const string Enabled = "enabled"; internal const string SchemeSettings = "schemeSettings"; internal const string SchemeName = "name"; internal const string GenericUriParserOptions = "genericUriParserOptions"; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HttpCapabilitiesBase.cs
- OleDbError.cs
- UniqueSet.cs
- NegotiationTokenProvider.cs
- LoopExpression.cs
- FastEncoderWindow.cs
- DependencyPropertyKey.cs
- DataBinder.cs
- ThreadStateException.cs
- PathData.cs
- SqlXmlStorage.cs
- GradientSpreadMethodValidation.cs
- ResourceExpressionBuilder.cs
- XmlWrappingReader.cs
- DataBoundControlAdapter.cs
- TrackingProvider.cs
- HyperLinkField.cs
- XmlArrayItemAttributes.cs
- SmtpTransport.cs
- ToolBar.cs
- RowCache.cs
- Base64WriteStateInfo.cs
- SourceFileInfo.cs
- RadioButtonBaseAdapter.cs
- BrowserDefinition.cs
- TreeViewBindingsEditor.cs
- RuntimeConfig.cs
- FromRequest.cs
- FontWeights.cs
- SelectionPatternIdentifiers.cs
- ScrollPattern.cs
- LinkClickEvent.cs
- RenderContext.cs
- EntityTransaction.cs
- SqlRowUpdatedEvent.cs
- TransactionScope.cs
- Stackframe.cs
- storepermissionattribute.cs
- ConnectionProviderAttribute.cs
- CodeAttachEventStatement.cs
- UndoEngine.cs
- HttpHostedTransportConfiguration.cs
- SystemInformation.cs
- FloaterBaseParagraph.cs
- UTF7Encoding.cs
- RotateTransform3D.cs
- _ConnectionGroup.cs
- IList.cs
- StylusDevice.cs
- EtwProvider.cs
- ElapsedEventArgs.cs
- NamespaceQuery.cs
- Viewport2DVisual3D.cs
- UnrecognizedAssertionsBindingElement.cs
- CultureTableRecord.cs
- _HeaderInfo.cs
- XmlBinaryReader.cs
- ProfileServiceManager.cs
- CreateUserWizardAutoFormat.cs
- HitTestFilterBehavior.cs
- DataBoundControlHelper.cs
- Instrumentation.cs
- SelectionEditingBehavior.cs
- UserControl.cs
- Object.cs
- DataRowComparer.cs
- MsmqIntegrationSecurityElement.cs
- ACL.cs
- TraceListeners.cs
- ImageListUtils.cs
- ImageMap.cs
- SamlAuthorizationDecisionClaimResource.cs
- EditableTreeList.cs
- JavaScriptSerializer.cs
- ParallelQuery.cs
- XmlDataSourceView.cs
- AttributeAction.cs
- PriorityBindingExpression.cs
- RecipientInfo.cs
- DataGridViewRowCollection.cs
- OleStrCAMarshaler.cs
- MeshGeometry3D.cs
- HttpFileCollection.cs
- ManagementEventWatcher.cs
- StorageComplexPropertyMapping.cs
- LookupNode.cs
- SubqueryRules.cs
- XmlStringTable.cs
- FastEncoder.cs
- DataList.cs
- DescendantOverDescendantQuery.cs
- HttpCookie.cs
- ObjectItemCollection.cs
- MailAddress.cs
- EdmConstants.cs
- PropertyEmitter.cs
- FieldAccessException.cs
- SmtpTransport.cs
- Int64KeyFrameCollection.cs
- PerformanceCounterPermissionEntryCollection.cs