Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / Configuration / ConfigsHelper.cs / 1 / ConfigsHelper.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.Configuration
{
using System.Configuration;
using System.Configuration.Provider;
internal class ConfigsHelper {
internal static void GetRegistryStringAttribute(ref string val, ConfigurationElement config, string propName) {
if (HandlerBase.CheckAndReadRegistryValue(ref val, false) == false) {
throw new ConfigurationErrorsException(
SR.GetString(SR.Invalid_registry_config),
config.ElementInformation.Properties[propName].Source, config.ElementInformation.Properties[propName].LineNumber);
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.Configuration
{
using System.Configuration;
using System.Configuration.Provider;
internal class ConfigsHelper {
internal static void GetRegistryStringAttribute(ref string val, ConfigurationElement config, string propName) {
if (HandlerBase.CheckAndReadRegistryValue(ref val, false) == false) {
throw new ConfigurationErrorsException(
SR.GetString(SR.Invalid_registry_config),
config.ElementInformation.Properties[propName].Source, config.ElementInformation.Properties[propName].LineNumber);
}
}
}
}
// 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
- DataSourceSelectArguments.cs
- InternalConfigSettingsFactory.cs
- PositiveTimeSpanValidator.cs
- BlobPersonalizationState.cs
- CodeSnippetCompileUnit.cs
- KeyTime.cs
- DataGridColumnCollection.cs
- SqlClientFactory.cs
- HTMLTextWriter.cs
- ApplicationManager.cs
- DriveNotFoundException.cs
- PermissionRequestEvidence.cs
- XmlReflectionImporter.cs
- DebugTracing.cs
- SoapIncludeAttribute.cs
- ToolTip.cs
- EventHandlerList.cs
- UpdatePanelTriggerCollection.cs
- OracleConnection.cs
- DatasetMethodGenerator.cs
- WizardStepBase.cs
- Menu.cs
- SqlDataSourceEnumerator.cs
- NamespaceTable.cs
- XpsSerializerWriter.cs
- NullableConverter.cs
- DocumentCollection.cs
- Paragraph.cs
- CheckoutException.cs
- SmiGettersStream.cs
- OutOfMemoryException.cs
- BitmapDecoder.cs
- XmlNotation.cs
- TextRunCache.cs
- TextServicesCompartmentEventSink.cs
- TcpHostedTransportConfiguration.cs
- SecUtil.cs
- CreateUserErrorEventArgs.cs
- Subset.cs
- NameValuePermission.cs
- CompoundFileStorageReference.cs
- AppSettingsReader.cs
- AxisAngleRotation3D.cs
- _DomainName.cs
- BaseTemplatedMobileComponentEditor.cs
- ToggleButton.cs
- XamlWrapperReaders.cs
- FixedDocument.cs
- GlobalItem.cs
- ArgumentOutOfRangeException.cs
- AdRotator.cs
- RenameRuleObjectDialog.cs
- ReferenceService.cs
- HttpCookiesSection.cs
- DispatchOperationRuntime.cs
- AttributeXamlType.cs
- GenericEnumerator.cs
- Asn1IntegerConverter.cs
- handlecollector.cs
- AudioFormatConverter.cs
- TextRangeProviderWrapper.cs
- SmtpAuthenticationManager.cs
- TraceInternal.cs
- XsltLibrary.cs
- Int32Rect.cs
- StoreAnnotationsMap.cs
- SocketPermission.cs
- DateBoldEvent.cs
- HttpInputStream.cs
- HostProtectionException.cs
- ConstNode.cs
- DataTableNewRowEvent.cs
- BuildManager.cs
- QueryContinueDragEventArgs.cs
- CriticalExceptions.cs
- CookieProtection.cs
- Guid.cs
- TextEndOfSegment.cs
- ExpandCollapsePattern.cs
- PrintDialog.cs
- CommandField.cs
- ConfigXmlWhitespace.cs
- ConfigXmlText.cs
- AdapterDictionary.cs
- CqlParser.cs
- Control.cs
- EmptyQuery.cs
- WsdlBuildProvider.cs
- EntityDataSourceState.cs
- ConfigurationFileMap.cs
- SoapExtensionTypeElementCollection.cs
- XmlChoiceIdentifierAttribute.cs
- CalendarDateRangeChangingEventArgs.cs
- WebCategoryAttribute.cs
- ConsoleKeyInfo.cs
- QuestionEventArgs.cs
- SecUtil.cs
- RenderData.cs
- AssertHelper.cs
- TagElement.cs