Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / Configuration / ProtocolsConfigurationHandler.cs / 3 / 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); } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ArgumentOutOfRangeException.cs
- DoubleUtil.cs
- ObjectDesignerDataSourceView.cs
- SqlUtil.cs
- TemplatedWizardStep.cs
- CustomErrorsSection.cs
- Brushes.cs
- BrowserCapabilitiesFactoryBase.cs
- PageCatalogPart.cs
- WindowsImpersonationContext.cs
- GenericIdentity.cs
- TextStore.cs
- SessionSymmetricTransportSecurityProtocolFactory.cs
- MemberPathMap.cs
- __Error.cs
- MetabaseSettings.cs
- HttpWebResponse.cs
- BookmarkManager.cs
- GridViewDeleteEventArgs.cs
- FreezableDefaultValueFactory.cs
- ECDsa.cs
- FontCacheUtil.cs
- CompoundFileIOPermission.cs
- TabRenderer.cs
- InheritedPropertyChangedEventArgs.cs
- WebPartConnection.cs
- Executor.cs
- BaseDataListDesigner.cs
- SessionPageStateSection.cs
- TextTabProperties.cs
- IndexedEnumerable.cs
- AssemblyEvidenceFactory.cs
- PointF.cs
- SoapSchemaMember.cs
- XamlSerializerUtil.cs
- InputDevice.cs
- SystemException.cs
- Keywords.cs
- BooleanProjectedSlot.cs
- COM2ColorConverter.cs
- ByteStack.cs
- ArcSegment.cs
- CodeNamespaceImportCollection.cs
- PolicyUnit.cs
- TokenBasedSetEnumerator.cs
- HtmlTableRow.cs
- TemplateControlBuildProvider.cs
- EncoderFallback.cs
- ContextMenuStrip.cs
- DataContext.cs
- SqlDataSource.cs
- SymDocumentType.cs
- PageTheme.cs
- ExpressionSelection.cs
- mediaclock.cs
- DesignerMetadata.cs
- RouteParameter.cs
- DesignerAdapterUtil.cs
- TypeConvertions.cs
- EntryWrittenEventArgs.cs
- TypeElementCollection.cs
- M3DUtil.cs
- ConsumerConnectionPoint.cs
- MethodResolver.cs
- XmlProcessingInstruction.cs
- EncoderParameters.cs
- CodeGenerator.cs
- PackageDigitalSignature.cs
- CompiledIdentityConstraint.cs
- RtfControlWordInfo.cs
- EmptyQuery.cs
- SoapSchemaMember.cs
- ActiveXMessageFormatter.cs
- TextMarkerSource.cs
- HtmlWindow.cs
- KnowledgeBase.cs
- EntityContainerAssociationSet.cs
- FastEncoderWindow.cs
- WindowsRichEditRange.cs
- WasEndpointConfigContainer.cs
- LocalServiceSecuritySettings.cs
- LoginView.cs
- StringAnimationBase.cs
- DocumentCollection.cs
- CaseStatementSlot.cs
- ExtensionQuery.cs
- Helpers.cs
- SkewTransform.cs
- MatrixAnimationBase.cs
- DataBoundControlAdapter.cs
- TemplatedMailWebEventProvider.cs
- ReflectionUtil.cs
- XamlPointCollectionSerializer.cs
- PaintEvent.cs
- TemplateBamlTreeBuilder.cs
- ExceptQueryOperator.cs
- SymmetricSecurityBindingElement.cs
- SchemaExporter.cs
- CalendarBlackoutDatesCollection.cs
- CatalogPart.cs