Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / Configuration / ProtocolsConfigurationHandler.cs / 1 / 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): // /**/ // [AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] 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): // /**/ // [AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] 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
- ShapeTypeface.cs
- DBConcurrencyException.cs
- ObjectSecurity.cs
- LineGeometry.cs
- WindowsSlider.cs
- XmlIncludeAttribute.cs
- XmlIlVisitor.cs
- DataSourceBooleanViewSchemaConverter.cs
- QuaternionValueSerializer.cs
- BinaryReader.cs
- _UncName.cs
- SqlVisitor.cs
- SmtpReplyReader.cs
- EventBuilder.cs
- BCryptHashAlgorithm.cs
- RestHandler.cs
- WindowsScrollBarBits.cs
- SourceItem.cs
- ConnectionManagementElementCollection.cs
- DataServiceContext.cs
- AuthenticatingEventArgs.cs
- panel.cs
- TypefaceMap.cs
- TraceListeners.cs
- SmtpNegotiateAuthenticationModule.cs
- PngBitmapDecoder.cs
- assertwrapper.cs
- DbParameterCollectionHelper.cs
- CookielessHelper.cs
- TextTreeFixupNode.cs
- MetaModel.cs
- InputMethod.cs
- MediaPlayerState.cs
- SQLDateTimeStorage.cs
- ValueUnavailableException.cs
- TimeManager.cs
- ConnectionStringsSection.cs
- SchemaImporter.cs
- WriteableOnDemandStream.cs
- Atom10FormatterFactory.cs
- ConstrainedGroup.cs
- PrivateFontCollection.cs
- SyndicationSerializer.cs
- SymmetricAlgorithm.cs
- CodeNamespaceImportCollection.cs
- FontCacheLogic.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- InstanceData.cs
- DiscoveryDefaults.cs
- WebServiceEndpoint.cs
- FormViewInsertEventArgs.cs
- UpdatePanelTrigger.cs
- SspiWrapper.cs
- XPathScanner.cs
- Floater.cs
- RegexCharClass.cs
- ToolBar.cs
- ImpersonationContext.cs
- ClientSponsor.cs
- AutomationFocusChangedEventArgs.cs
- SafeBuffer.cs
- TextCharacters.cs
- RsaSecurityKey.cs
- StaticResourceExtension.cs
- DefaultTextStore.cs
- NoneExcludedImageIndexConverter.cs
- InputScope.cs
- InternalConfigEventArgs.cs
- Literal.cs
- ActionFrame.cs
- SecureStringHasher.cs
- ExceptionRoutedEventArgs.cs
- XmlSchemaObject.cs
- IsolationInterop.cs
- StrokeNodeEnumerator.cs
- ColorMap.cs
- UserPersonalizationStateInfo.cs
- DesignTimeTemplateParser.cs
- WriteTimeStream.cs
- CapabilitiesState.cs
- RectKeyFrameCollection.cs
- StorageInfo.cs
- PersistenceTypeAttribute.cs
- RotateTransform3D.cs
- Accessible.cs
- RepeaterItemCollection.cs
- HuffModule.cs
- XamlReaderConstants.cs
- SafeTokenHandle.cs
- MergePropertyDescriptor.cs
- UseAttributeSetsAction.cs
- SystemTcpStatistics.cs
- InvalidEnumArgumentException.cs
- PeerNameRecord.cs
- JsonReaderDelegator.cs
- CircleHotSpot.cs
- RepeatBehavior.cs
- OracleConnectionStringBuilder.cs
- arclist.cs
- Label.cs