Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / Web / Services / Configuration / SoapEnvelopeProcessingElement.cs / 1305376 / SoapEnvelopeProcessingElement.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Web.Services.Configuration { using System; using System.Configuration; using System.ComponentModel; using System.IO; using System.Security.Permissions; using System.Threading; using System.Web.Configuration; using System.Web.Hosting; using System.Xml; public sealed class SoapEnvelopeProcessingElement : ConfigurationElement { // These three constructors are used by the configuration system. public SoapEnvelopeProcessingElement() : base() { this.properties.Add(this.readTimeout); this.properties.Add(this.strict); } public SoapEnvelopeProcessingElement(int readTimeout) : this() { this.ReadTimeout = readTimeout; } public SoapEnvelopeProcessingElement(int readTimeout, bool strict) : this() { this.ReadTimeout = readTimeout; this.IsStrict = strict; } [ConfigurationProperty("readTimeout", DefaultValue = int.MaxValue)] [TypeConverter(typeof(InfiniteIntConverter))] public int ReadTimeout { get { return (int)base[this.readTimeout]; } set { base[this.readTimeout] = value; } } [ConfigurationProperty("strict", DefaultValue = false)] public bool IsStrict { get { return (bool)base[strict]; } set { base[strict] = value; } } protected override ConfigurationPropertyCollection Properties { get { return this.properties; } } ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection(); readonly ConfigurationProperty readTimeout = new ConfigurationProperty("readTimeout", typeof(int), int.MaxValue, new InfiniteIntConverter(), null, ConfigurationPropertyOptions.None); readonly ConfigurationProperty strict = new ConfigurationProperty("strict", typeof(bool), false); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Web.Services.Configuration { using System; using System.Configuration; using System.ComponentModel; using System.IO; using System.Security.Permissions; using System.Threading; using System.Web.Configuration; using System.Web.Hosting; using System.Xml; public sealed class SoapEnvelopeProcessingElement : ConfigurationElement { // These three constructors are used by the configuration system. public SoapEnvelopeProcessingElement() : base() { this.properties.Add(this.readTimeout); this.properties.Add(this.strict); } public SoapEnvelopeProcessingElement(int readTimeout) : this() { this.ReadTimeout = readTimeout; } public SoapEnvelopeProcessingElement(int readTimeout, bool strict) : this() { this.ReadTimeout = readTimeout; this.IsStrict = strict; } [ConfigurationProperty("readTimeout", DefaultValue = int.MaxValue)] [TypeConverter(typeof(InfiniteIntConverter))] public int ReadTimeout { get { return (int)base[this.readTimeout]; } set { base[this.readTimeout] = value; } } [ConfigurationProperty("strict", DefaultValue = false)] public bool IsStrict { get { return (bool)base[strict]; } set { base[strict] = value; } } protected override ConfigurationPropertyCollection Properties { get { return this.properties; } } ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection(); readonly ConfigurationProperty readTimeout = new ConfigurationProperty("readTimeout", typeof(int), int.MaxValue, new InfiniteIntConverter(), null, ConfigurationPropertyOptions.None); readonly ConfigurationProperty strict = new ConfigurationProperty("strict", typeof(bool), false); } } // 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
- ColorBlend.cs
- ResXDataNode.cs
- ListManagerBindingsCollection.cs
- XPathAxisIterator.cs
- Substitution.cs
- DataGridViewToolTip.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- XmlSignatureManifest.cs
- MachineKeySection.cs
- ForceCopyBuildProvider.cs
- Journal.cs
- LinqDataSource.cs
- EventMap.cs
- QilLiteral.cs
- PageFunction.cs
- PageCodeDomTreeGenerator.cs
- EventLogPropertySelector.cs
- SelectionProviderWrapper.cs
- NamespaceEmitter.cs
- ContextMenuStrip.cs
- DesignerInterfaces.cs
- VersionValidator.cs
- Random.cs
- NamespaceEmitter.cs
- XmlSchemaDocumentation.cs
- Image.cs
- util.cs
- SchemaTypeEmitter.cs
- MarkupCompiler.cs
- WebPartDisplayModeEventArgs.cs
- EntitySetBase.cs
- DataGridViewRowEventArgs.cs
- XmlAttributeCollection.cs
- PropertyChangingEventArgs.cs
- DependencyPropertyConverter.cs
- TextDecorationCollectionConverter.cs
- AliasGenerator.cs
- CounterCreationDataCollection.cs
- CommandField.cs
- RewritingProcessor.cs
- CodeArgumentReferenceExpression.cs
- BindUriHelper.cs
- OverlappedAsyncResult.cs
- XPathAncestorIterator.cs
- Message.cs
- InvalidOperationException.cs
- PointAnimation.cs
- TextEditorSelection.cs
- SqlDataSourceView.cs
- StylusCollection.cs
- TypeUsageBuilder.cs
- BehaviorDragDropEventArgs.cs
- TableHeaderCell.cs
- MetabaseServerConfig.cs
- DataRelationCollection.cs
- FlowDocument.cs
- DataBindingCollection.cs
- Send.cs
- GridToolTip.cs
- TextRangeSerialization.cs
- DWriteFactory.cs
- AppDomainAttributes.cs
- LazyTextWriterCreator.cs
- TraceSource.cs
- TextEditorThreadLocalStore.cs
- BaseCodePageEncoding.cs
- Compress.cs
- Crc32.cs
- MemoryStream.cs
- RectAnimationClockResource.cs
- ProfilePropertySettingsCollection.cs
- EntityDataSourceValidationException.cs
- KnowledgeBase.cs
- SmtpNetworkElement.cs
- CharacterString.cs
- XmlSchemaAttribute.cs
- TextTreeRootNode.cs
- AlphaSortedEnumConverter.cs
- MethodExpr.cs
- NameValueConfigurationCollection.cs
- TypeConverterHelper.cs
- SchemaMapping.cs
- VerificationException.cs
- EmbeddedMailObject.cs
- Debug.cs
- DescendantOverDescendantQuery.cs
- Size.cs
- XmlBindingWorker.cs
- StretchValidation.cs
- TextTreeRootNode.cs
- GridItem.cs
- Adorner.cs
- PageSettings.cs
- Size3DConverter.cs
- SystemThemeKey.cs
- WindowPattern.cs
- SqlGenerator.cs
- StateItem.cs
- ScriptBehaviorDescriptor.cs
- VisualStyleInformation.cs