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
- KnownTypesHelper.cs
- MouseCaptureWithinProperty.cs
- AssemblyBuilder.cs
- CachedBitmap.cs
- TextBoxBase.cs
- ProfileServiceManager.cs
- SmtpReplyReader.cs
- HtmlElementCollection.cs
- OleDbReferenceCollection.cs
- StylusCollection.cs
- SplitterPanel.cs
- CounterCreationDataConverter.cs
- EventTask.cs
- ScopelessEnumAttribute.cs
- Translator.cs
- CacheMode.cs
- HostingMessageProperty.cs
- ComNativeDescriptor.cs
- ViewStateModeByIdAttribute.cs
- SerialReceived.cs
- RijndaelManaged.cs
- TemplateBindingExpressionConverter.cs
- XsltInput.cs
- IImplicitResourceProvider.cs
- CompatibleIComparer.cs
- UnsafeNativeMethods.cs
- SQLCharsStorage.cs
- SQLSingle.cs
- CalendarAutoFormat.cs
- NameTable.cs
- KnownTypesProvider.cs
- ISFTagAndGuidCache.cs
- ButtonFieldBase.cs
- BaseTemplateCodeDomTreeGenerator.cs
- CqlWriter.cs
- UpDownEvent.cs
- SqlTrackingWorkflowInstance.cs
- SeparatorAutomationPeer.cs
- RNGCryptoServiceProvider.cs
- XmlSecureResolver.cs
- MarginsConverter.cs
- ReadingWritingEntityEventArgs.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- SQLDoubleStorage.cs
- XmlAttributeHolder.cs
- FunctionQuery.cs
- PersonalizationEntry.cs
- Axis.cs
- Stacktrace.cs
- StylusEditingBehavior.cs
- ArraySet.cs
- EdmFunction.cs
- SmtpMail.cs
- TransformerConfigurationWizardBase.cs
- SoapAttributeAttribute.cs
- StateWorkerRequest.cs
- NGCPageContentCollectionSerializerAsync.cs
- DocumentPage.cs
- WebServiceData.cs
- MessageFilter.cs
- Deflater.cs
- WpfMemberInvoker.cs
- TypeCacheManager.cs
- ZipIOBlockManager.cs
- PropertyMapper.cs
- InfiniteIntConverter.cs
- SchemaManager.cs
- CursorConverter.cs
- DynamicDiscoSearcher.cs
- DecodeHelper.cs
- COM2Properties.cs
- TemplateBindingExtensionConverter.cs
- DefaultCommandExtensionCallback.cs
- NavigationPropertyEmitter.cs
- ToolStripMenuItem.cs
- Decimal.cs
- TdsParserSafeHandles.cs
- SendSecurityHeaderElementContainer.cs
- UnionExpr.cs
- Application.cs
- NameNode.cs
- DesignerLoader.cs
- MsmqIntegrationBindingElement.cs
- DataControlFieldCollection.cs
- NumericUpDown.cs
- ProfileSection.cs
- ConfigUtil.cs
- XmlSchemaAll.cs
- DefaultObjectMappingItemCollection.cs
- ParseHttpDate.cs
- CellConstant.cs
- PropertyItemInternal.cs
- StylusLogic.cs
- ToggleButton.cs
- XamlSerializerUtil.cs
- PrivilegeNotHeldException.cs
- MenuItem.cs
- AuthenticationService.cs
- LoginName.cs
- Window.cs