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
- TreeWalker.cs
- TransformCollection.cs
- ProfileParameter.cs
- base64Transforms.cs
- HtmlToClrEventProxy.cs
- WebErrorHandler.cs
- SimpleApplicationHost.cs
- BufferAllocator.cs
- FormsAuthenticationCredentials.cs
- relpropertyhelper.cs
- DataGridTextBoxColumn.cs
- metrodevice.cs
- Stylus.cs
- GraphicsState.cs
- SiteMembershipCondition.cs
- PeerOutputChannel.cs
- InkPresenterAutomationPeer.cs
- SettingsAttributes.cs
- COM2FontConverter.cs
- Trace.cs
- RootBrowserWindowAutomationPeer.cs
- TextStore.cs
- NavigationWindowAutomationPeer.cs
- ObjectSpanRewriter.cs
- SRef.cs
- DrawingGroupDrawingContext.cs
- DataObjectCopyingEventArgs.cs
- ButtonBase.cs
- SqlCommandBuilder.cs
- TransformConverter.cs
- ComponentDispatcher.cs
- ResourceContainerWrapper.cs
- EmptyControlCollection.cs
- KeyPullup.cs
- ObjectStateFormatter.cs
- PageCodeDomTreeGenerator.cs
- FileSystemInfo.cs
- DocumentProperties.cs
- SimpleType.cs
- HitTestParameters.cs
- MenuItem.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- ExceptionValidationRule.cs
- Vector3DAnimationUsingKeyFrames.cs
- HttpFileCollectionBase.cs
- SqlServer2KCompatibilityCheck.cs
- EdgeProfileValidation.cs
- UniqueEventHelper.cs
- PassportPrincipal.cs
- TypeReference.cs
- RuntimeIdentifierPropertyAttribute.cs
- Evaluator.cs
- DataServiceException.cs
- Base64WriteStateInfo.cs
- SystemColorTracker.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- BindingMAnagerBase.cs
- RenderDataDrawingContext.cs
- FormatterConverter.cs
- SqlErrorCollection.cs
- EditingScope.cs
- StylusButtonCollection.cs
- NullableIntAverageAggregationOperator.cs
- StackSpiller.Bindings.cs
- SqlTrackingWorkflowInstance.cs
- ListBase.cs
- PrimitiveSchema.cs
- HtmlPanelAdapter.cs
- ConfigUtil.cs
- TransactionValidationBehavior.cs
- OleDbReferenceCollection.cs
- TextEvent.cs
- CodePageUtils.cs
- NetworkInformationPermission.cs
- DataViewSettingCollection.cs
- DataContractAttribute.cs
- EmptyCollection.cs
- PeerConnector.cs
- XmlResolver.cs
- KerberosSecurityTokenAuthenticator.cs
- SystemTcpStatistics.cs
- shaperfactoryquerycachekey.cs
- IPCCacheManager.cs
- PTProvider.cs
- BrowserTree.cs
- QilScopedVisitor.cs
- StickyNoteHelper.cs
- EntityType.cs
- MessageQueuePermission.cs
- StorageEntitySetMapping.cs
- WmlCommandAdapter.cs
- RIPEMD160.cs
- Set.cs
- ToolStripContentPanelRenderEventArgs.cs
- ScriptingJsonSerializationSection.cs
- StylusSystemGestureEventArgs.cs
- PermissionRequestEvidence.cs
- RequestCacheEntry.cs
- StackBuilderSink.cs
- ErrorsHelper.cs