Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Configuration / ErrorRuntimeConfig.cs / 1305376 / ErrorRuntimeConfig.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System.Configuration; using System.Configuration.Internal; using System.Web.Util; // // Any attempt to access any section will result in an exception. // internal class ErrorRuntimeConfig : RuntimeConfig { internal ErrorRuntimeConfig() : base(new ErrorConfigRecord(), false) {} protected override object GetSectionObject(string sectionName) { throw new ConfigurationErrorsException(); } // // Any attempt to access the record will result in an exception. // private class ErrorConfigRecord : IInternalConfigRecord { internal ErrorConfigRecord() { } string IInternalConfigRecord.ConfigPath { get { throw new ConfigurationErrorsException(); } } string IInternalConfigRecord.StreamName { get { throw new ConfigurationErrorsException(); } } bool IInternalConfigRecord.HasInitErrors { get { return true; } } void IInternalConfigRecord.ThrowIfInitErrors() { throw new ConfigurationErrorsException(); } object IInternalConfigRecord.GetSection(string configKey) { throw new ConfigurationErrorsException(); } object IInternalConfigRecord.GetLkgSection(string configKey) { throw new ConfigurationErrorsException(); } void IInternalConfigRecord.RefreshSection(string configKey) { throw new ConfigurationErrorsException(); } void IInternalConfigRecord.Remove() { throw new ConfigurationErrorsException(); } } } } // 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
- ProjectionCamera.cs
- SrgsRulesCollection.cs
- odbcmetadatafactory.cs
- SafeThreadHandle.cs
- PropertyMapper.cs
- Mappings.cs
- Parameter.cs
- Int32Animation.cs
- TreeWalkHelper.cs
- FrameworkTextComposition.cs
- SymDocumentType.cs
- ExtendedPropertyDescriptor.cs
- CodeTypeMemberCollection.cs
- FixedHighlight.cs
- TypeDelegator.cs
- COM2ColorConverter.cs
- WorkflowServiceBehavior.cs
- UnsafeNativeMethods.cs
- EntityStoreSchemaGenerator.cs
- QueryCacheKey.cs
- QuerySettings.cs
- KeyNotFoundException.cs
- DbDataReader.cs
- rsa.cs
- ContextQuery.cs
- ZipIORawDataFileBlock.cs
- GPRECT.cs
- PointConverter.cs
- ExpressionPrinter.cs
- CallbackHandler.cs
- CodeDirectoryCompiler.cs
- RequestUriProcessor.cs
- X500Name.cs
- UnsafeNativeMethods.cs
- UriParserTemplates.cs
- SplashScreen.cs
- FilterInvalidBodyAccessException.cs
- CapabilitiesRule.cs
- AttributeSetAction.cs
- ManagedIStream.cs
- ACL.cs
- SafePointer.cs
- NameValuePermission.cs
- Rect3D.cs
- IISMapPath.cs
- Opcode.cs
- ObsoleteAttribute.cs
- RootProfilePropertySettingsCollection.cs
- _AutoWebProxyScriptWrapper.cs
- DataPagerFieldItem.cs
- CustomWebEventKey.cs
- SafeWaitHandle.cs
- _SpnDictionary.cs
- UntypedNullExpression.cs
- BackStopAuthenticationModule.cs
- CheckBox.cs
- MarkedHighlightComponent.cs
- Set.cs
- XsltConvert.cs
- CharUnicodeInfo.cs
- TableRowCollection.cs
- KeyFrames.cs
- WindowPattern.cs
- RuntimeArgumentHandle.cs
- IncrementalReadDecoders.cs
- SizeKeyFrameCollection.cs
- MarkedHighlightComponent.cs
- DesignerLoader.cs
- Debugger.cs
- InfoCardSymmetricAlgorithm.cs
- SQLMoneyStorage.cs
- SchemaElementLookUpTableEnumerator.cs
- TypeDependencyAttribute.cs
- GacUtil.cs
- BindingValueChangedEventArgs.cs
- PageEventArgs.cs
- DataObjectPastingEventArgs.cs
- DocComment.cs
- CellParaClient.cs
- UnsafeNetInfoNativeMethods.cs
- dbenumerator.cs
- XmlNodeChangedEventArgs.cs
- ScaleTransform.cs
- TemplatePartAttribute.cs
- TemplateBaseAction.cs
- BamlRecordHelper.cs
- ObjectCloneHelper.cs
- WriteableOnDemandPackagePart.cs
- GiveFeedbackEventArgs.cs
- RegistryPermission.cs
- BitmapEffectvisualstate.cs
- CompilerGeneratedAttribute.cs
- DataGridRowHeader.cs
- ExtendedProtectionPolicyElement.cs
- DispatcherOperation.cs
- TracingConnectionInitiator.cs
- BuildResultCache.cs
- Automation.cs
- ValidationHelpers.cs
- XmlSchemaAnnotated.cs