Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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);
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
//
// 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ReadOnlyCollectionBase.cs
- CatchBlock.cs
- ProfileEventArgs.cs
- OdbcTransaction.cs
- SizeConverter.cs
- DesignOnlyAttribute.cs
- ListBoxAutomationPeer.cs
- CompiledQueryCacheKey.cs
- HtmlTernaryTree.cs
- RuleRef.cs
- FixedSOMTableCell.cs
- ReflectionServiceProvider.cs
- ResourceIDHelper.cs
- ClientCultureInfo.cs
- DataServiceQueryContinuation.cs
- DataServiceEntityAttribute.cs
- VerticalAlignConverter.cs
- StorageBasedPackageProperties.cs
- StandardCommands.cs
- QueryOutputWriterV1.cs
- CompilerScope.Storage.cs
- SQLBinary.cs
- CatalogZoneBase.cs
- IndexOutOfRangeException.cs
- BitmapEffectInput.cs
- AuthenticatedStream.cs
- XslException.cs
- ButtonFlatAdapter.cs
- StringUtil.cs
- WorkflowMarkupSerializer.cs
- ReverseInheritProperty.cs
- ToolZone.cs
- grammarelement.cs
- MemberRelationshipService.cs
- XNodeSchemaApplier.cs
- EmptyImpersonationContext.cs
- RawKeyboardInputReport.cs
- HandleCollector.cs
- TimeSpan.cs
- StatusBar.cs
- DataSourceControl.cs
- SimpleBitVector32.cs
- Nullable.cs
- DockProviderWrapper.cs
- ConstructorExpr.cs
- FocusManager.cs
- ParseNumbers.cs
- QuaternionIndependentAnimationStorage.cs
- FlowLayoutPanel.cs
- NetworkStream.cs
- PresentationSource.cs
- LocalBuilder.cs
- XomlCompilerHelpers.cs
- DbConnectionFactory.cs
- MetricEntry.cs
- SqlDataSourceQueryEditorForm.cs
- ExplicitDiscriminatorMap.cs
- FixedSOMImage.cs
- XPathDocumentIterator.cs
- TreeNodeCollection.cs
- Debug.cs
- PinnedBufferMemoryStream.cs
- State.cs
- EventProvider.cs
- DataColumnMappingCollection.cs
- TextTreeInsertElementUndoUnit.cs
- CompiledQuery.cs
- Semaphore.cs
- DefaultEvaluationContext.cs
- ActivityLocationReferenceEnvironment.cs
- UiaCoreProviderApi.cs
- GeneratedContractType.cs
- BlockCollection.cs
- EntityStoreSchemaGenerator.cs
- DataGridBoolColumn.cs
- PauseStoryboard.cs
- StorageScalarPropertyMapping.cs
- ClientSettings.cs
- SymLanguageType.cs
- DisplayClaim.cs
- WorkflowServiceAttributes.cs
- NullableConverter.cs
- ValidatorCompatibilityHelper.cs
- DataAdapter.cs
- DefaultAutoFieldGenerator.cs
- NameTable.cs
- IPEndPointCollection.cs
- FixedPageProcessor.cs
- XsdValidatingReader.cs
- FileLevelControlBuilderAttribute.cs
- XmlArrayItemAttributes.cs
- DeploymentSection.cs
- ToolboxBitmapAttribute.cs
- RoleGroupCollectionEditor.cs
- CommonObjectSecurity.cs
- AbandonedMutexException.cs
- PageBuildProvider.cs
- TrustManager.cs
- UIElement.cs
- TemplateBindingExtension.cs