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
- BasicAsyncResult.cs
- MatrixTransform3D.cs
- ChtmlTextWriter.cs
- BypassElementCollection.cs
- AddInIpcChannel.cs
- ControlParser.cs
- MSG.cs
- Expander.cs
- XmlNavigatorStack.cs
- PeerObject.cs
- PropertyGridDesigner.cs
- _DisconnectOverlappedAsyncResult.cs
- TimeoutException.cs
- ExecutionProperties.cs
- WebConfigurationHost.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- Formatter.cs
- FilterQuery.cs
- StreamInfo.cs
- Model3D.cs
- Token.cs
- ActiveXMessageFormatter.cs
- XmlDataProvider.cs
- SamlConditions.cs
- DefaultTypeArgumentAttribute.cs
- AppDomainAttributes.cs
- DragEvent.cs
- TextEditorSelection.cs
- ListViewItemCollectionEditor.cs
- GetWorkflowTree.cs
- AffineTransform3D.cs
- TrackBarRenderer.cs
- Annotation.cs
- HtmlEncodedRawTextWriter.cs
- TypeValidationEventArgs.cs
- PasswordRecovery.cs
- EventLogException.cs
- ByteFacetDescriptionElement.cs
- EventHandlersStore.cs
- DocumentEventArgs.cs
- Selection.cs
- ElementFactory.cs
- OdbcFactory.cs
- DesignerProperties.cs
- Wizard.cs
- StorageScalarPropertyMapping.cs
- PerfCounters.cs
- RunClient.cs
- MD5.cs
- ColorPalette.cs
- WebBrowserDocumentCompletedEventHandler.cs
- EnumConverter.cs
- ConfigurationElementProperty.cs
- Mutex.cs
- __ConsoleStream.cs
- CompiledIdentityConstraint.cs
- ReflectionTypeLoadException.cs
- LicenseManager.cs
- SourceElementsCollection.cs
- OverlappedContext.cs
- ProfileBuildProvider.cs
- VersionedStream.cs
- DbProviderFactoriesConfigurationHandler.cs
- PropertyValueUIItem.cs
- OledbConnectionStringbuilder.cs
- WindowsAuthenticationModule.cs
- SystemIPGlobalProperties.cs
- HttpModulesSection.cs
- CustomActivityDesigner.cs
- FormatConvertedBitmap.cs
- TextEditor.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- PrintPreviewDialog.cs
- IRCollection.cs
- EditorBrowsableAttribute.cs
- TextView.cs
- PageCatalogPart.cs
- Control.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- COM2IProvidePropertyBuilderHandler.cs
- Rotation3DKeyFrameCollection.cs
- EntryWrittenEventArgs.cs
- XPathNodeList.cs
- ExpressionHelper.cs
- IQueryable.cs
- OdbcCommandBuilder.cs
- Interlocked.cs
- ToolStripDropDownClosingEventArgs.cs
- HostSecurityManager.cs
- DllNotFoundException.cs
- PackageDigitalSignature.cs
- TrustManagerMoreInformation.cs
- ComPlusDiagnosticTraceRecords.cs
- SessionParameter.cs
- DataPointer.cs
- ConfigurationPropertyCollection.cs
- DataTableExtensions.cs
- FrameworkElementFactoryMarkupObject.cs
- GradientStop.cs
- ButtonChrome.cs