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
- UserInitiatedRoutedEventPermission.cs
- ToolStripContentPanelRenderEventArgs.cs
- SqlClientWrapperSmiStream.cs
- BackgroundWorker.cs
- BridgeDataReader.cs
- PrimitiveType.cs
- ThicknessAnimationBase.cs
- ZipArchive.cs
- WebResourceAttribute.cs
- GeometryCollection.cs
- CodeStatement.cs
- ConnectionStringSettings.cs
- GCHandleCookieTable.cs
- IndependentAnimationStorage.cs
- ResetableIterator.cs
- FlowDocumentPaginator.cs
- TreeBuilder.cs
- DataRow.cs
- PermissionSet.cs
- HttpEncoderUtility.cs
- NullableDecimalAverageAggregationOperator.cs
- DiscoveryViaBehavior.cs
- ComboBoxItem.cs
- MeasurementDCInfo.cs
- RectangleGeometry.cs
- SqlFacetAttribute.cs
- DataGridViewControlCollection.cs
- RegexRunner.cs
- KeySplineConverter.cs
- ResourceReferenceKeyNotFoundException.cs
- PreservationFileWriter.cs
- ExpressionLexer.cs
- XamlSerializationHelper.cs
- CompilerGeneratedAttribute.cs
- XmlQueryTypeFactory.cs
- FrameAutomationPeer.cs
- HtmlTitle.cs
- PolicyStatement.cs
- TrackingMemoryStreamFactory.cs
- OutputCacheSettings.cs
- SchemaNotation.cs
- WorkflowInstanceExtensionProvider.cs
- FileDetails.cs
- KnownTypes.cs
- ISFTagAndGuidCache.cs
- Literal.cs
- NativeMethods.cs
- SafeNativeMethods.cs
- ADConnectionHelper.cs
- InfiniteTimeSpanConverter.cs
- GPStream.cs
- M3DUtil.cs
- DataGridViewMethods.cs
- ColumnResult.cs
- TdsParser.cs
- ManagementClass.cs
- JapaneseCalendar.cs
- Highlights.cs
- SqlParameter.cs
- FixedSOMLineCollection.cs
- EditorZoneDesigner.cs
- ContentPlaceHolder.cs
- DesignerValidationSummaryAdapter.cs
- ClockController.cs
- OleCmdHelper.cs
- SecurityDescriptor.cs
- ExpanderAutomationPeer.cs
- RegexReplacement.cs
- DynamicEndpoint.cs
- NonParentingControl.cs
- SqlFlattener.cs
- UseAttributeSetsAction.cs
- OptimalTextSource.cs
- AbstractSvcMapFileLoader.cs
- DataGridViewCellStyleChangedEventArgs.cs
- CodePageUtils.cs
- CodeRemoveEventStatement.cs
- SectionVisual.cs
- DataGridColumnDropSeparator.cs
- DocumentSchemaValidator.cs
- UInt16Converter.cs
- _SslSessionsCache.cs
- InsufficientMemoryException.cs
- SQLInt32Storage.cs
- ObjectDataSourceSelectingEventArgs.cs
- BufferBuilder.cs
- TypeSystem.cs
- OrderingInfo.cs
- Matrix.cs
- DefinitionBase.cs
- TextEncodedRawTextWriter.cs
- SqlStream.cs
- VectorConverter.cs
- FlowLayoutSettings.cs
- Separator.cs
- ServiceTimeoutsElement.cs
- AtomEntry.cs
- CharacterBufferReference.cs
- ETagAttribute.cs
- XmlWrappingReader.cs