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
- AutoSizeToolBoxItem.cs
- UseLicense.cs
- BrushMappingModeValidation.cs
- DataGridColumnFloatingHeader.cs
- ErrorTableItemStyle.cs
- UInt64.cs
- _AcceptOverlappedAsyncResult.cs
- SystemMulticastIPAddressInformation.cs
- ForeignKeyConstraint.cs
- StateMachineWorkflowInstance.cs
- SliderAutomationPeer.cs
- ToolboxItemAttribute.cs
- CqlParser.cs
- AuthenticationSection.cs
- PersonalizablePropertyEntry.cs
- PopOutPanel.cs
- NCryptSafeHandles.cs
- HyperLinkField.cs
- TCPClient.cs
- OrthographicCamera.cs
- ListViewItemMouseHoverEvent.cs
- CharUnicodeInfo.cs
- AddInActivator.cs
- NameValueFileSectionHandler.cs
- EdmValidator.cs
- ElementAction.cs
- SizeKeyFrameCollection.cs
- GPRECTF.cs
- DiagnosticsConfiguration.cs
- ByteAnimationBase.cs
- StringKeyFrameCollection.cs
- EventData.cs
- PeerObject.cs
- DiscoveryClientDocuments.cs
- CorrelationToken.cs
- ButtonBaseAdapter.cs
- EmptyQuery.cs
- StreamInfo.cs
- EncoderNLS.cs
- ISessionStateStore.cs
- FormsIdentity.cs
- TreeNodeClickEventArgs.cs
- UIntPtr.cs
- DecimalFormatter.cs
- ListControlConvertEventArgs.cs
- DecoderNLS.cs
- MoveSizeWinEventHandler.cs
- ScriptComponentDescriptor.cs
- DataGridDetailsPresenterAutomationPeer.cs
- TraceContextEventArgs.cs
- CriticalExceptions.cs
- ListViewEditEventArgs.cs
- FlowLayoutSettings.cs
- SignatureResourcePool.cs
- TimeSpanValidator.cs
- ServiceDefaults.cs
- Publisher.cs
- PathFigureCollection.cs
- SplineKeyFrames.cs
- SqlVersion.cs
- HtmlLink.cs
- NetPeerTcpBindingElement.cs
- BoundsDrawingContextWalker.cs
- CollectionViewGroupRoot.cs
- BaseTemplateBuildProvider.cs
- LineBreak.cs
- RedirectionProxy.cs
- DriveNotFoundException.cs
- InstanceLockTracking.cs
- ListView.cs
- WebScriptEndpointElement.cs
- RowParagraph.cs
- KeyPressEvent.cs
- CallInfo.cs
- XPathNodeList.cs
- UnionCodeGroup.cs
- BitmapInitialize.cs
- unitconverter.cs
- SettingsPropertyValue.cs
- HtmlInputControl.cs
- MenuItem.cs
- IOThreadTimer.cs
- ClientApiGenerator.cs
- StreamMarshaler.cs
- ListViewPagedDataSource.cs
- StackBuilderSink.cs
- CodeAttachEventStatement.cs
- BitmapImage.cs
- MatrixValueSerializer.cs
- WebMessageFormatHelper.cs
- PathGradientBrush.cs
- GeometryCollection.cs
- RoutingService.cs
- RequiredAttributeAttribute.cs
- Span.cs
- DropSource.cs
- StandardToolWindows.cs
- SynchronizedDispatch.cs
- StateItem.cs
- SingleObjectCollection.cs