Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / Web / Services / Configuration / DiagnosticsElement.cs / 1305376 / DiagnosticsElement.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 DiagnosticsElement : ConfigurationElement { public DiagnosticsElement() : base() { this.properties.Add(this.suppressReturningExceptions); } [ConfigurationProperty("suppressReturningExceptions", DefaultValue = false)] public bool SuppressReturningExceptions { get { return (bool)base[suppressReturningExceptions]; } set { base[suppressReturningExceptions] = value; } } protected override ConfigurationPropertyCollection Properties { get { return this.properties; } } ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection(); readonly ConfigurationProperty suppressReturningExceptions = new ConfigurationProperty("suppressReturningExceptions", 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 DiagnosticsElement : ConfigurationElement { public DiagnosticsElement() : base() { this.properties.Add(this.suppressReturningExceptions); } [ConfigurationProperty("suppressReturningExceptions", DefaultValue = false)] public bool SuppressReturningExceptions { get { return (bool)base[suppressReturningExceptions]; } set { base[suppressReturningExceptions] = value; } } protected override ConfigurationPropertyCollection Properties { get { return this.properties; } } ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection(); readonly ConfigurationProperty suppressReturningExceptions = new ConfigurationProperty("suppressReturningExceptions", 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
- ContentValidator.cs
- Script.cs
- TreeBuilder.cs
- FieldToken.cs
- ControlBuilderAttribute.cs
- RecordManager.cs
- EventLogPermissionHolder.cs
- ProxyElement.cs
- EventSetterHandlerConverter.cs
- DetailsViewUpdatedEventArgs.cs
- QuaternionConverter.cs
- EdmEntityTypeAttribute.cs
- DocumentProperties.cs
- NonValidatingSecurityTokenAuthenticator.cs
- ObjectDataSourceSelectingEventArgs.cs
- GetWinFXPath.cs
- FixedTextContainer.cs
- TableSectionStyle.cs
- X509RecipientCertificateServiceElement.cs
- IsolatedStorage.cs
- Unit.cs
- NotifyCollectionChangedEventArgs.cs
- PerformanceCounterLib.cs
- ProcessStartInfo.cs
- DataGridViewSortCompareEventArgs.cs
- HttpCookiesSection.cs
- ReaderOutput.cs
- BufferedStream2.cs
- FontResourceCache.cs
- Container.cs
- ControlBuilder.cs
- PopupControlService.cs
- ScaleTransform.cs
- TextFormatterHost.cs
- TagMapCollection.cs
- OrthographicCamera.cs
- InvalidEnumArgumentException.cs
- SettingsPropertyValueCollection.cs
- SafeEventLogReadHandle.cs
- returneventsaver.cs
- PerformanceCounter.cs
- ListenerSessionConnection.cs
- Logging.cs
- ConstraintEnumerator.cs
- ByteAnimationBase.cs
- Span.cs
- RequestNavigateEventArgs.cs
- PrintPageEvent.cs
- DocumentCollection.cs
- XmlSchemaAttribute.cs
- EnvelopedPkcs7.cs
- AliasExpr.cs
- FixUp.cs
- WindowsRichEdit.cs
- BigInt.cs
- CompensationExtension.cs
- SineEase.cs
- FocusManager.cs
- SettingsContext.cs
- DictionarySectionHandler.cs
- SafeBitVector32.cs
- SingleObjectCollection.cs
- HttpListenerException.cs
- WebBrowser.cs
- SamlSerializer.cs
- ViewGenerator.cs
- TargetException.cs
- SessionIDManager.cs
- SoapProcessingBehavior.cs
- ImageSource.cs
- SpellerError.cs
- PropertyDescriptor.cs
- ThreadStartException.cs
- StringAnimationUsingKeyFrames.cs
- ContentDisposition.cs
- _DomainName.cs
- ThreadNeutralSemaphore.cs
- Size.cs
- UnmanagedMarshal.cs
- SystemIcons.cs
- DocumentPageHost.cs
- InheritablePropertyChangeInfo.cs
- XPathDocumentBuilder.cs
- ToolStripPanelCell.cs
- ExpressionConverter.cs
- FacetValues.cs
- MatrixTransform.cs
- SqlSelectClauseBuilder.cs
- DynamicMetaObject.cs
- XmlAttributes.cs
- ItemCheckedEvent.cs
- PrintControllerWithStatusDialog.cs
- SystemWebCachingSectionGroup.cs
- FamilyTypefaceCollection.cs
- Effect.cs
- ApplicationSettingsBase.cs
- SiblingIterators.cs
- AudioStateChangedEventArgs.cs
- DesignerAttribute.cs
- OperationSelectorBehavior.cs