Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / Configuration / ErrorRuntimeConfig.cs / 1 / 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. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XamlToRtfParser.cs
- CopyOfAction.cs
- activationcontext.cs
- AppearanceEditorPart.cs
- DES.cs
- StringKeyFrameCollection.cs
- AdCreatedEventArgs.cs
- graph.cs
- mactripleDES.cs
- XamlSerializerUtil.cs
- SQLCharsStorage.cs
- TemplateControlParser.cs
- UInt64Converter.cs
- JsonSerializer.cs
- ProjectionCamera.cs
- SHA256CryptoServiceProvider.cs
- ErrorEventArgs.cs
- FaultHandlingFilter.cs
- wgx_commands.cs
- StringFreezingAttribute.cs
- SqlAliaser.cs
- DisableDpiAwarenessAttribute.cs
- TextCompositionManager.cs
- CommandID.cs
- HttpException.cs
- TcpProcessProtocolHandler.cs
- IndicFontClient.cs
- InputManager.cs
- PackageDigitalSignature.cs
- SchemaImporterExtensionElement.cs
- FormViewUpdateEventArgs.cs
- SynchronizedMessageSource.cs
- ProfileManager.cs
- DocumentGridContextMenu.cs
- RestHandlerFactory.cs
- COM2ComponentEditor.cs
- Freezable.cs
- SiteMapNodeCollection.cs
- GatewayIPAddressInformationCollection.cs
- DebugInfo.cs
- XmlReaderSettings.cs
- DataPager.cs
- AppLevelCompilationSectionCache.cs
- DebugHandleTracker.cs
- EditorPart.cs
- IList.cs
- DispatcherExceptionEventArgs.cs
- GroupBoxAutomationPeer.cs
- BitmapVisualManager.cs
- NamespaceEmitter.cs
- InternalConfigSettingsFactory.cs
- TimestampInformation.cs
- ListView.cs
- RelationshipDetailsCollection.cs
- SimpleMailWebEventProvider.cs
- CodeAccessPermission.cs
- ToolStripKeyboardHandlingService.cs
- ExponentialEase.cs
- SmtpNegotiateAuthenticationModule.cs
- OracleBoolean.cs
- CodeCommentStatementCollection.cs
- XmlILConstructAnalyzer.cs
- XmlNamespaceManager.cs
- FormViewUpdatedEventArgs.cs
- DataGridViewSelectedCellCollection.cs
- CryptoKeySecurity.cs
- Help.cs
- DrawingContextWalker.cs
- WebBrowserHelper.cs
- ModuleBuilder.cs
- RetrieveVirtualItemEventArgs.cs
- HttpWriter.cs
- grammarelement.cs
- FontStretchConverter.cs
- WebPartMinimizeVerb.cs
- EditorZone.cs
- TemplateControlBuildProvider.cs
- SocketException.cs
- CharAnimationBase.cs
- EdmConstants.cs
- FirstMatchCodeGroup.cs
- OperandQuery.cs
- MailMessage.cs
- VirtualDirectoryMappingCollection.cs
- QilGeneratorEnv.cs
- LineGeometry.cs
- EdmComplexPropertyAttribute.cs
- XPathExpr.cs
- InternalSendMessage.cs
- BitmapDownload.cs
- WindowsNonControl.cs
- RegexCode.cs
- XmlDownloadManager.cs
- SqlBulkCopy.cs
- RewritingValidator.cs
- GridViewSortEventArgs.cs
- DbConvert.cs
- MenuCommand.cs
- EventsTab.cs
- GeometryModel3D.cs