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
- GridSplitter.cs
- TreePrinter.cs
- OleDbEnumerator.cs
- SqlDataSourceStatusEventArgs.cs
- METAHEADER.cs
- InfoCardBaseException.cs
- ControlBuilder.cs
- SmtpNtlmAuthenticationModule.cs
- HttpStaticObjectsCollectionBase.cs
- Effect.cs
- DataGridViewLinkCell.cs
- StateMachineExecutionState.cs
- OperatingSystemVersionCheck.cs
- ObjectViewListener.cs
- CellCreator.cs
- ToolStripDesignerAvailabilityAttribute.cs
- EventProviderWriter.cs
- CharKeyFrameCollection.cs
- WindowsRichEditRange.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- Stack.cs
- EntityDataSourceView.cs
- EmptyImpersonationContext.cs
- NamedPermissionSet.cs
- Button.cs
- ValidationErrorInfo.cs
- Point.cs
- NotCondition.cs
- LZCodec.cs
- RuntimeEnvironment.cs
- System.Data_BID.cs
- DuplicateWaitObjectException.cs
- RTTrackingProfile.cs
- DataGridTextBoxColumn.cs
- WebBrowserNavigatedEventHandler.cs
- EncoderParameter.cs
- SqlDependency.cs
- EnumerableRowCollectionExtensions.cs
- XamlSerializer.cs
- PagesSection.cs
- ArrayHelper.cs
- HtmlTableRowCollection.cs
- MatrixTransform3D.cs
- SHA1Managed.cs
- WindowsStatic.cs
- KeyConstraint.cs
- SymbolDocumentGenerator.cs
- ButtonDesigner.cs
- BindingParameterCollection.cs
- Track.cs
- recordstate.cs
- DataGrid.cs
- SerializationAttributes.cs
- ForeignConstraint.cs
- MenuEventArgs.cs
- CompilationAssemblyInstallComponent.cs
- FontDialog.cs
- CustomErrorsSectionWrapper.cs
- OdbcDataAdapter.cs
- HttpNamespaceReservationInstallComponent.cs
- GregorianCalendarHelper.cs
- PersonalizablePropertyEntry.cs
- XPathDocumentBuilder.cs
- MethodImplAttribute.cs
- PropertyDescriptor.cs
- MethodAccessException.cs
- WriteableBitmap.cs
- Scanner.cs
- DrawingContextDrawingContextWalker.cs
- Matrix3DStack.cs
- FileUtil.cs
- URIFormatException.cs
- ConfigurationStrings.cs
- GraphicsState.cs
- __Filters.cs
- KnownColorTable.cs
- TreeNodeConverter.cs
- ConstructorNeedsTagAttribute.cs
- ProcessModelInfo.cs
- NavigatorOutput.cs
- OleDbStruct.cs
- HwndSourceParameters.cs
- BufferedWebEventProvider.cs
- FormatVersion.cs
- XmlSubtreeReader.cs
- PreviewPrintController.cs
- AvtEvent.cs
- DesignerVerbToolStripMenuItem.cs
- PromptEventArgs.cs
- SourceElementsCollection.cs
- TypefaceCollection.cs
- ProviderIncompatibleException.cs
- NamedPipeTransportBindingElement.cs
- PriorityQueue.cs
- PersonalizableAttribute.cs
- VerificationException.cs
- DomainUpDown.cs
- DataServiceClientException.cs
- SmtpCommands.cs
- Control.cs