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
- DataListCommandEventArgs.cs
- NullableLongSumAggregationOperator.cs
- SystemNetHelpers.cs
- InkCanvasSelectionAdorner.cs
- ContainerVisual.cs
- DelegateTypeInfo.cs
- BorderGapMaskConverter.cs
- BypassElementCollection.cs
- Label.cs
- ByteConverter.cs
- InkCanvas.cs
- UnsafeCollabNativeMethods.cs
- ExpressionBindings.cs
- Color.cs
- DataSpaceManager.cs
- TextTreeInsertElementUndoUnit.cs
- SqlDataReaderSmi.cs
- Int16Converter.cs
- RTLAwareMessageBox.cs
- HostingEnvironment.cs
- UnmanagedMemoryStream.cs
- HMACSHA256.cs
- Model3DCollection.cs
- CommandHelper.cs
- EndPoint.cs
- HttpDictionary.cs
- PropertyToken.cs
- XmlSchemaAttribute.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- TaskSchedulerException.cs
- InstalledVoice.cs
- MD5CryptoServiceProvider.cs
- DllNotFoundException.cs
- handlecollector.cs
- ItemsPanelTemplate.cs
- Int32.cs
- DataControlFieldCollection.cs
- XmlSchemaAttribute.cs
- ModifierKeysValueSerializer.cs
- BrushMappingModeValidation.cs
- ColumnWidthChangedEvent.cs
- FlowLayout.cs
- MessagePropertyVariants.cs
- ObjectHelper.cs
- StringBuilder.cs
- Events.cs
- SafeNativeMethodsMilCoreApi.cs
- IndependentAnimationStorage.cs
- ObjectAssociationEndMapping.cs
- CipherData.cs
- PageTheme.cs
- MessageSecurityTokenVersion.cs
- StaticDataManager.cs
- VBCodeProvider.cs
- CompilationUtil.cs
- PerformanceCounterPermission.cs
- ImageList.cs
- SynchronizedKeyedCollection.cs
- WorkflowServiceNamespace.cs
- TextEditorTyping.cs
- AppDomainFactory.cs
- SHA256Managed.cs
- XmlLanguageConverter.cs
- Context.cs
- AutomationPatternInfo.cs
- CacheOutputQuery.cs
- OracleInternalConnection.cs
- Hyperlink.cs
- Model3DCollection.cs
- XPathNodePointer.cs
- SspiWrapper.cs
- PerspectiveCamera.cs
- PopupEventArgs.cs
- SQLInt32.cs
- WebBrowserSiteBase.cs
- _NTAuthentication.cs
- ScrollBarRenderer.cs
- RectKeyFrameCollection.cs
- QueueTransferProtocol.cs
- PaintValueEventArgs.cs
- WinEventQueueItem.cs
- EntityContainerEmitter.cs
- RuntimeIdentifierPropertyAttribute.cs
- XmlNodeChangedEventManager.cs
- StorageEntityContainerMapping.cs
- BrushConverter.cs
- SynchronousChannelMergeEnumerator.cs
- ToolStripLabel.cs
- Transform.cs
- BrowserTree.cs
- RegularExpressionValidator.cs
- DataGridViewTextBoxEditingControl.cs
- Span.cs
- KeysConverter.cs
- CryptoConfig.cs
- LocatorManager.cs
- ContractHandle.cs
- WebSysDescriptionAttribute.cs
- SafeNativeMethods.cs
- EventArgs.cs