Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / Tools / xws_reg / System / ServiceModel / Install / Configuration / NativeConfigurationLoader.cs / 1 / NativeConfigurationLoader.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Install.Configuration { using System; using System.Configuration; using System.Globalization; using System.IO; using System.ServiceModel.Configuration; using System.Web.Configuration; internal sealed class NativeConfigurationLoader : ConfigurationLoader { internal override Configuration MachineConfiguration { get { this.machineConfiguration = ConfigurationManager.OpenMachineConfiguration(); if (null == this.machineConfiguration) { #pragma warning suppress 56503 //[....]; .NET Fx being installed properly is a valid pre-condition. throw new InvalidOperationException(SR.GetString(SR.NetFxNotInstalled)); } return this.machineConfiguration; } } internal override Configuration RootWebConfiguration { get { this.rootWebConfiguration = WebConfigurationManager.OpenWebConfiguration(string.Empty); if (null == this.rootWebConfiguration) { #pragma warning suppress 56503 //[....]; .NET Fx being installed properly is a valid pre-condition. throw new InvalidOperationException(SR.GetString(SR.NetFxNotInstalled)); } return this.rootWebConfiguration; } } } } // 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
- log.cs
- GeneralTransform.cs
- ExpandSegment.cs
- ComponentManagerBroker.cs
- PassportAuthentication.cs
- objectquery_tresulttype.cs
- LineServicesCallbacks.cs
- Menu.cs
- NetworkInformationException.cs
- WindowsClientElement.cs
- FolderLevelBuildProvider.cs
- ImageMapEventArgs.cs
- GeneralTransformGroup.cs
- DesignOnlyAttribute.cs
- SelectionEditingBehavior.cs
- Lasso.cs
- CryptoApi.cs
- SchemaReference.cs
- FileDialog.cs
- DetailsViewModeEventArgs.cs
- BevelBitmapEffect.cs
- SqlDataRecord.cs
- UntypedNullExpression.cs
- SizeKeyFrameCollection.cs
- AspCompat.cs
- DictionaryKeyPropertyAttribute.cs
- StrokeCollectionDefaultValueFactory.cs
- EntryWrittenEventArgs.cs
- PartialCachingControl.cs
- DiscoveryRequestHandler.cs
- MultipartContentParser.cs
- CommandID.cs
- PersistenceMetadataNamespace.cs
- GetWinFXPath.cs
- AssemblyInfo.cs
- ConstraintConverter.cs
- SecurityKeyIdentifierClause.cs
- ObservableCollectionDefaultValueFactory.cs
- KeyPressEvent.cs
- RoleExceptions.cs
- HtmlLink.cs
- KeyGestureValueSerializer.cs
- ParameterCollection.cs
- ButtonField.cs
- SoapSchemaImporter.cs
- ReferenceService.cs
- EntityModelBuildProvider.cs
- JournalEntry.cs
- Convert.cs
- Monitor.cs
- IIS7UserPrincipal.cs
- PersonalizationState.cs
- AssociatedControlConverter.cs
- ResourcePool.cs
- ImageClickEventArgs.cs
- Int32Collection.cs
- ClosureBinding.cs
- ProgressBarHighlightConverter.cs
- Token.cs
- PropertyOrder.cs
- FragmentQueryProcessor.cs
- SoapAttributeOverrides.cs
- MultipartIdentifier.cs
- PassportAuthentication.cs
- StandardOleMarshalObject.cs
- ResumeStoryboard.cs
- DbRetry.cs
- Win32Exception.cs
- MailBnfHelper.cs
- EdmSchemaError.cs
- BuildProvider.cs
- LicenseException.cs
- CompilationUtil.cs
- PassportIdentity.cs
- DependencyObjectCodeDomSerializer.cs
- DataGridItemEventArgs.cs
- SchemaMapping.cs
- EntityWrapper.cs
- SiteMapDataSource.cs
- ContentType.cs
- _SslStream.cs
- ResourcesGenerator.cs
- EnvelopedSignatureTransform.cs
- LazyTextWriterCreator.cs
- CommandBinding.cs
- CodePageUtils.cs
- httpapplicationstate.cs
- LeaseManager.cs
- KeyTimeConverter.cs
- TrackBarRenderer.cs
- InstanceCreationEditor.cs
- ContentDisposition.cs
- HGlobalSafeHandle.cs
- CommandHelper.cs
- XslCompiledTransform.cs
- OleDbStruct.cs
- PrintingPermissionAttribute.cs
- ParamArrayAttribute.cs
- WebRequestModuleElementCollection.cs
- RectIndependentAnimationStorage.cs