Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Configuration / ProtocolsConfigurationHandler.cs / 1305376 / ProtocolsConfigurationHandler.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System.IO; using System.Runtime.Serialization.Formatters; using System.Threading; using System.Runtime.InteropServices; using System.ComponentModel; using System.Collections; using System.Configuration; using System.Reflection; using System.Security; using System.Security.Permissions; using System.Globalization; using System.Web.Hosting; using System.Web.Security; using System.Web.Util; using System.Xml; // // Protocols config (machine.config only): // /**/ // public sealed class ProtocolsConfigurationHandler : IConfigurationSectionHandler { public ProtocolsConfigurationHandler() { } public object Create(Object parent, Object configContextObj, XmlNode section) { // can be called from client config ( default app domain) Debug.Assert(parent == null, " ... config is only allowed in machine.config"); return new ProtocolsConfiguration(section); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System.IO; using System.Runtime.Serialization.Formatters; using System.Threading; using System.Runtime.InteropServices; using System.ComponentModel; using System.Collections; using System.Configuration; using System.Reflection; using System.Security; using System.Security.Permissions; using System.Globalization; using System.Web.Hosting; using System.Web.Security; using System.Web.Util; using System.Xml; // // Protocols config (machine.config only): // /**/ // public sealed class ProtocolsConfigurationHandler : IConfigurationSectionHandler { public ProtocolsConfigurationHandler() { } public object Create(Object parent, Object configContextObj, XmlNode section) { // can be called from client config ( default app domain) Debug.Assert(parent == null, " ... config is only allowed in machine.config"); return new ProtocolsConfiguration(section); } } } // 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
- ScriptingSectionGroup.cs
- BooleanSwitch.cs
- HtmlElementErrorEventArgs.cs
- XPathNodeInfoAtom.cs
- StatusBarAutomationPeer.cs
- DecimalMinMaxAggregationOperator.cs
- Utils.cs
- LogExtentCollection.cs
- ProtocolsSection.cs
- TextViewSelectionProcessor.cs
- ObjectDataSourceStatusEventArgs.cs
- AgileSafeNativeMemoryHandle.cs
- MailBnfHelper.cs
- ButtonFieldBase.cs
- InstanceData.cs
- DataGridViewCell.cs
- MenuItem.cs
- InvalidDataException.cs
- HttpResponse.cs
- LocalFileSettingsProvider.cs
- Opcode.cs
- ContentType.cs
- PriorityQueue.cs
- ConfigPathUtility.cs
- File.cs
- TextClipboardData.cs
- ZoneLinkButton.cs
- ObjectQueryState.cs
- SizeFConverter.cs
- TabItemAutomationPeer.cs
- RequestQueryParser.cs
- SuppressMergeCheckAttribute.cs
- FocusWithinProperty.cs
- KeyConstraint.cs
- DesignerTransactionCloseEvent.cs
- SystemException.cs
- FtpCachePolicyElement.cs
- DataSourceComponent.cs
- NullReferenceException.cs
- RSAPKCS1KeyExchangeFormatter.cs
- ValidationSummary.cs
- SmiEventSink.cs
- TemplateAction.cs
- ContractUtils.cs
- StrokeSerializer.cs
- Debug.cs
- KnownBoxes.cs
- PolicyLevel.cs
- BitSet.cs
- UIHelper.cs
- NodeInfo.cs
- PerformanceCounterLib.cs
- TreeChangeInfo.cs
- ArrangedElementCollection.cs
- XmlSchemaIdentityConstraint.cs
- DeclarativeCatalogPart.cs
- XPathNodeIterator.cs
- ImageClickEventArgs.cs
- DeferredElementTreeState.cs
- ObjectSet.cs
- ReadOnlyAttribute.cs
- PrivateFontCollection.cs
- Number.cs
- Font.cs
- InfocardChannelParameter.cs
- DecimalStorage.cs
- SqlDataSourceSelectingEventArgs.cs
- Panel.cs
- _CacheStreams.cs
- GeometryValueSerializer.cs
- DesignTimeTemplateParser.cs
- WebPartMenu.cs
- ExpressionBuilderCollection.cs
- DataServiceStreamResponse.cs
- filewebresponse.cs
- ValuePatternIdentifiers.cs
- TextParagraphCache.cs
- IPipelineRuntime.cs
- BinaryParser.cs
- ScopelessEnumAttribute.cs
- IntMinMaxAggregationOperator.cs
- BuiltInPermissionSets.cs
- _Win32.cs
- Compiler.cs
- ToolBarDesigner.cs
- mansign.cs
- HttpHandlerActionCollection.cs
- PtsContext.cs
- SqlRemoveConstantOrderBy.cs
- ConfigurationFileMap.cs
- NamespaceList.cs
- TextTreeTextBlock.cs
- RequestTimeoutManager.cs
- PerformanceCountersElement.cs
- StorageAssociationTypeMapping.cs
- SqlCommandBuilder.cs
- ArraySubsetEnumerator.cs
- DocumentPageHost.cs
- InteropEnvironment.cs
- DbBuffer.cs