Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / Web / Services / Configuration / WsiProfilesElement.cs / 1305376 / WsiProfilesElement.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Web.Services.Configuration { using System; using System.Configuration; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Security.Permissions; public sealed class WsiProfilesElement : ConfigurationElement { // These three constructors are used by the configuration system. public WsiProfilesElement() : base() { this.properties.Add(this.name); } public WsiProfilesElement(WsiProfiles name) : this() { this.Name = name; } [ConfigurationProperty("name", IsKey = true, DefaultValue = WsiProfiles.None)] public WsiProfiles Name { get { return (WsiProfiles)base[this.name]; } set { if (!IsValidWsiProfilesValue(value)) { throw new ArgumentOutOfRangeException("value"); } base[this.name] = value; } } protected override ConfigurationPropertyCollection Properties { get { return this.properties; } } bool IsValidWsiProfilesValue(WsiProfiles value) { return Enum.IsDefined(typeof(WsiProfiles), value); } ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection(); readonly ConfigurationProperty name = new ConfigurationProperty("name", typeof(WsiProfiles), WsiProfiles.None, ConfigurationPropertyOptions.IsKey); } } // 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
- WindowsAuthenticationEventArgs.cs
- WebPageTraceListener.cs
- PageParser.cs
- ISAPIRuntime.cs
- ArithmeticException.cs
- EntityDataSourceWrapperCollection.cs
- ScriptManagerProxy.cs
- QilValidationVisitor.cs
- XmlDocumentSurrogate.cs
- ErrorStyle.cs
- Events.cs
- LinkedResourceCollection.cs
- TableDetailsCollection.cs
- IndexedDataBuffer.cs
- TextProperties.cs
- HeaderLabel.cs
- IssuanceLicense.cs
- AuthenticationManager.cs
- DbConnectionPoolCounters.cs
- X509IssuerSerialKeyIdentifierClause.cs
- TaskCanceledException.cs
- CorrelationHandle.cs
- DefaultValueTypeConverter.cs
- EntityCollectionChangedParams.cs
- followingsibling.cs
- FusionWrap.cs
- WebConfigurationHostFileChange.cs
- KeyManager.cs
- ArgumentException.cs
- FlatButtonAppearance.cs
- DoubleMinMaxAggregationOperator.cs
- IndentedWriter.cs
- SafeNativeMethods.cs
- PropertyValidationContext.cs
- Point3D.cs
- XmlEventCache.cs
- ListCommandEventArgs.cs
- ConnectionInterfaceCollection.cs
- COM2ExtendedTypeConverter.cs
- NavigationProperty.cs
- namescope.cs
- InternalCache.cs
- BaseHashHelper.cs
- CounterSample.cs
- RuntimeUtils.cs
- EntityContainerAssociationSetEnd.cs
- MsmqAppDomainProtocolHandler.cs
- Content.cs
- PageOutputQuality.cs
- ExtractorMetadata.cs
- IntegerValidatorAttribute.cs
- ListManagerBindingsCollection.cs
- OdbcConnectionStringbuilder.cs
- CryptoApi.cs
- ModuleBuilderData.cs
- StringInfo.cs
- MarkupObject.cs
- RegexParser.cs
- EventHandlersStore.cs
- Condition.cs
- GridViewAutomationPeer.cs
- EdmFunction.cs
- DoubleConverter.cs
- ThicknessAnimationBase.cs
- CodeMethodInvokeExpression.cs
- FontNamesConverter.cs
- OutKeywords.cs
- CurrentChangingEventManager.cs
- ScriptDescriptor.cs
- DependencyPropertyDescriptor.cs
- SecUtil.cs
- UidManager.cs
- ServerType.cs
- XsltException.cs
- DrawingAttributesDefaultValueFactory.cs
- ListBox.cs
- EventProviderWriter.cs
- PathTooLongException.cs
- QilName.cs
- DataQuery.cs
- WebPartZone.cs
- CheckBoxList.cs
- bindurihelper.cs
- SqlProvider.cs
- TableLayoutRowStyleCollection.cs
- ProfileSettings.cs
- TraceHandler.cs
- EventLogConfiguration.cs
- LocatorPartList.cs
- EventsTab.cs
- CatalogZoneAutoFormat.cs
- LinearGradientBrush.cs
- TrustSection.cs
- EngineSiteSapi.cs
- XPathDocumentIterator.cs
- ActivityTrace.cs
- RouteItem.cs
- ConfigXmlText.cs
- DataBindingExpressionBuilder.cs
- PerformanceCounterLib.cs