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
- DynamicDataResources.Designer.cs
- WmlTextViewAdapter.cs
- SamlAuthenticationClaimResource.cs
- ReflectPropertyDescriptor.cs
- InnerItemCollectionView.cs
- CodeLinePragma.cs
- Console.cs
- AdapterDictionary.cs
- RadialGradientBrush.cs
- FeatureSupport.cs
- NameSpaceEvent.cs
- FolderLevelBuildProviderCollection.cs
- ScriptServiceAttribute.cs
- ControlBuilderAttribute.cs
- UnicodeEncoding.cs
- GlobalizationSection.cs
- BitmapData.cs
- ServerValidateEventArgs.cs
- ListChangedEventArgs.cs
- KeyConverter.cs
- ApplicationFileCodeDomTreeGenerator.cs
- WindowsHyperlink.cs
- AutomationElementCollection.cs
- AddInProcess.cs
- DefaultTypeArgumentAttribute.cs
- Deflater.cs
- ThreadNeutralSemaphore.cs
- RepeatButton.cs
- FormViewPageEventArgs.cs
- MultiDataTrigger.cs
- RankException.cs
- ConfigurationCollectionAttribute.cs
- OracleCommandSet.cs
- DataGridViewButtonCell.cs
- InsufficientMemoryException.cs
- AutomationAttributeInfo.cs
- HtmlTableRowCollection.cs
- isolationinterop.cs
- ServiceDescriptions.cs
- TextCollapsingProperties.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- __Error.cs
- DataServiceHost.cs
- FilterEventArgs.cs
- CharAnimationUsingKeyFrames.cs
- ECDsaCng.cs
- CurrentChangedEventManager.cs
- TimersDescriptionAttribute.cs
- UidManager.cs
- SAPICategories.cs
- COM2IPerPropertyBrowsingHandler.cs
- ImageMap.cs
- ResourceExpression.cs
- ServicePointManager.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- TypeLibConverter.cs
- BitmapMetadata.cs
- DataKey.cs
- ClipboardProcessor.cs
- ReadOnlyDataSource.cs
- DllNotFoundException.cs
- SelectionItemPattern.cs
- ParentQuery.cs
- HtmlWindowCollection.cs
- TextParaClient.cs
- ToolStripHighContrastRenderer.cs
- WindowsToolbarAsMenu.cs
- TrackingMemoryStreamFactory.cs
- EventSinkActivityDesigner.cs
- WebPartConnectionsConnectVerb.cs
- HttpModuleAction.cs
- ReadingWritingEntityEventArgs.cs
- PropertyItem.cs
- RuntimeIdentifierPropertyAttribute.cs
- OutgoingWebRequestContext.cs
- ComboBoxRenderer.cs
- BindingUtils.cs
- TransformPattern.cs
- DispatcherExceptionEventArgs.cs
- ExeContext.cs
- MetadataPropertyvalue.cs
- ConnectionManagementSection.cs
- GeometryCollection.cs
- LoadRetryAsyncResult.cs
- SqlUserDefinedAggregateAttribute.cs
- TreeNodeBindingDepthConverter.cs
- DataTransferEventArgs.cs
- ReadOnlyDataSourceView.cs
- DataContractJsonSerializer.cs
- ValidatorCollection.cs
- GenericEnumerator.cs
- Matrix3DValueSerializer.cs
- CompilationLock.cs
- Deflater.cs
- IdentityReference.cs
- SystemTcpStatistics.cs
- ListChunk.cs
- DtrList.cs
- Error.cs
- HandlerWithFactory.cs