Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RegexStringValidatorAttribute.cs
- ControlPersister.cs
- MulticastDelegate.cs
- InitializeCorrelation.cs
- ElapsedEventArgs.cs
- XmlSignatureManifest.cs
- CqlErrorHelper.cs
- BindingSource.cs
- NamespaceCollection.cs
- BindingBase.cs
- XmlCustomFormatter.cs
- TextSelectionProcessor.cs
- SemaphoreSecurity.cs
- ApplicationDirectory.cs
- MenuBindingsEditor.cs
- TimeManager.cs
- StringArrayEditor.cs
- MsmqIntegrationBindingElement.cs
- DrawingContextWalker.cs
- dataobject.cs
- ConfigurationErrorsException.cs
- TransferRequestHandler.cs
- DynamicRendererThreadManager.cs
- UnauthorizedWebPart.cs
- CompiledQuery.cs
- EntityContainerEntitySetDefiningQuery.cs
- BufferedReadStream.cs
- XmlCodeExporter.cs
- _NegoStream.cs
- ObservableCollection.cs
- XpsThumbnail.cs
- Encoder.cs
- ToolBarPanel.cs
- QilReference.cs
- GlyphRunDrawing.cs
- EngineSiteSapi.cs
- XsdDuration.cs
- DataBindingHandlerAttribute.cs
- MeshGeometry3D.cs
- HandleCollector.cs
- WindowsRegion.cs
- SerializableTypeCodeDomSerializer.cs
- DuplexChannelFactory.cs
- EmbeddedMailObject.cs
- TimelineClockCollection.cs
- EventProperty.cs
- OleDbError.cs
- CompressStream.cs
- FontNameConverter.cs
- UnsafeNativeMethods.cs
- AccessControlEntry.cs
- ResourceSetExpression.cs
- JournalEntry.cs
- XmlNotation.cs
- TextRangeBase.cs
- XmlHelper.cs
- Executor.cs
- DefaultTraceListener.cs
- DisplayNameAttribute.cs
- HttpPostedFile.cs
- ISSmlParser.cs
- FileClassifier.cs
- RadioButton.cs
- BamlTreeUpdater.cs
- ApplicationSecurityInfo.cs
- XmlObjectSerializerWriteContext.cs
- StringAnimationBase.cs
- SystemIPv4InterfaceProperties.cs
- DescendentsWalkerBase.cs
- CharacterBufferReference.cs
- EditorZone.cs
- TextEditorMouse.cs
- Rect3DValueSerializer.cs
- ExceptionUtil.cs
- ResourceReferenceExpression.cs
- ActivityUtilities.cs
- DataGridViewComboBoxCell.cs
- MediaContextNotificationWindow.cs
- SpeakInfo.cs
- FixedTextView.cs
- ImageProxy.cs
- Type.cs
- RuntimeHelpers.cs
- StringToken.cs
- OdbcEnvironment.cs
- AspNetSynchronizationContext.cs
- AppDomain.cs
- OracleConnection.cs
- SelectionItemPatternIdentifiers.cs
- ChunkedMemoryStream.cs
- SSmlParser.cs
- ClientTarget.cs
- AppliedDeviceFiltersDialog.cs
- Selection.cs
- SoundPlayerAction.cs
- StringConverter.cs
- HttpHandlerAction.cs
- ObjectListSelectEventArgs.cs
- XamlGridLengthSerializer.cs
- ApplicationInfo.cs