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
- DateTimeOffset.cs
- TextRangeAdaptor.cs
- XsltSettings.cs
- ContentDefinition.cs
- SimplePropertyEntry.cs
- ManipulationLogic.cs
- InvalidFilterCriteriaException.cs
- ListControl.cs
- WebPartDisplayMode.cs
- DuplicateWaitObjectException.cs
- StaticSiteMapProvider.cs
- OperationFormatter.cs
- TabItemAutomationPeer.cs
- XmlSchemaAll.cs
- TaiwanLunisolarCalendar.cs
- OneToOneMappingSerializer.cs
- XPathDocumentNavigator.cs
- SpecialNameAttribute.cs
- NetPipeSection.cs
- _FtpDataStream.cs
- CompiledRegexRunnerFactory.cs
- XamlToRtfParser.cs
- DataBoundControlHelper.cs
- DelegateSerializationHolder.cs
- AssemblyAttributes.cs
- _DigestClient.cs
- XmlSchemaSubstitutionGroup.cs
- DBSchemaTable.cs
- CompilationLock.cs
- MDIClient.cs
- DataGridViewImageColumn.cs
- ExtentKey.cs
- UrlPath.cs
- SamlConditions.cs
- StylusEditingBehavior.cs
- ForeignKeyFactory.cs
- VariableElement.cs
- NullReferenceException.cs
- StaticDataManager.cs
- PartialToken.cs
- processwaithandle.cs
- BamlWriter.cs
- SqlErrorCollection.cs
- RealProxy.cs
- RestHandlerFactory.cs
- FlowDocumentView.cs
- DataGridViewTextBoxCell.cs
- SqlDataRecord.cs
- LogLogRecord.cs
- TTSEvent.cs
- RuleSet.cs
- TimeSpan.cs
- XmlStreamNodeWriter.cs
- FieldDescriptor.cs
- PatternMatchRules.cs
- ManagementScope.cs
- MetafileHeaderWmf.cs
- ToolstripProfessionalRenderer.cs
- RenderContext.cs
- PointAnimationBase.cs
- SchemaCollectionCompiler.cs
- TextOnlyOutput.cs
- HostedTcpTransportManager.cs
- ToolboxItem.cs
- _AutoWebProxyScriptWrapper.cs
- InkCanvasSelection.cs
- QueryIntervalOp.cs
- ParentUndoUnit.cs
- ProgressBarAutomationPeer.cs
- ProxyGenerationError.cs
- TextAutomationPeer.cs
- StaticExtension.cs
- CallSiteOps.cs
- SoapMessage.cs
- RequestQueue.cs
- Config.cs
- MachineKeySection.cs
- ObjectNavigationPropertyMapping.cs
- TraceHwndHost.cs
- arclist.cs
- CodeDelegateInvokeExpression.cs
- Rect3DValueSerializer.cs
- ListMarkerLine.cs
- XmlSchemaExporter.cs
- TypeUtils.cs
- ContextToken.cs
- ZipPackage.cs
- Int16KeyFrameCollection.cs
- XmlBindingWorker.cs
- ScaleTransform.cs
- HttpInputStream.cs
- odbcmetadatacollectionnames.cs
- DataRowComparer.cs
- WebResourceUtil.cs
- Privilege.cs
- WebPartMinimizeVerb.cs
- StructuralCache.cs
- EventLogQuery.cs
- EdmPropertyAttribute.cs
- InputProviderSite.cs