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
- SafeCertificateContext.cs
- TreeNode.cs
- TabControlAutomationPeer.cs
- Accessible.cs
- BrushConverter.cs
- DbParameterCollectionHelper.cs
- XPathEmptyIterator.cs
- Propagator.cs
- OleDbErrorCollection.cs
- xmlfixedPageInfo.cs
- LinqDataSourceStatusEventArgs.cs
- DiscriminatorMap.cs
- HwndSubclass.cs
- AsymmetricSignatureFormatter.cs
- RecognizedWordUnit.cs
- DesignBindingValueUIHandler.cs
- DataServiceContext.cs
- CodeNamespace.cs
- TreeViewImageIndexConverter.cs
- ActiveDesignSurfaceEvent.cs
- ConstructorBuilder.cs
- StringFreezingAttribute.cs
- KnownTypeAttribute.cs
- AvTraceDetails.cs
- CodeRegionDirective.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- Identity.cs
- TextEditorTyping.cs
- CodeMethodReturnStatement.cs
- DodSequenceMerge.cs
- LostFocusEventManager.cs
- Literal.cs
- ListView.cs
- SiteMapHierarchicalDataSourceView.cs
- ServiceOperation.cs
- ClientRolePrincipal.cs
- SHA1CryptoServiceProvider.cs
- XmlILModule.cs
- UInt64.cs
- TextTreeObjectNode.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- ToolStripDropDownButton.cs
- ProviderException.cs
- SmtpClient.cs
- ClassHandlersStore.cs
- _NativeSSPI.cs
- SystemIcmpV6Statistics.cs
- ServerIdentity.cs
- WebPageTraceListener.cs
- NgenServicingAttributes.cs
- PageCodeDomTreeGenerator.cs
- NewExpression.cs
- Property.cs
- SchemaManager.cs
- PermissionSetTriple.cs
- ExpressionNormalizer.cs
- OdbcParameterCollection.cs
- XDeferredAxisSource.cs
- FilterQuery.cs
- RuleSettings.cs
- EntityUtil.cs
- Expression.cs
- HashCodeCombiner.cs
- Stack.cs
- BaseTemplatedMobileComponentEditor.cs
- EncryptedData.cs
- SafeFileMappingHandle.cs
- DeflateEmulationStream.cs
- ServicePointManager.cs
- DataGridCellsPresenter.cs
- IOThreadTimer.cs
- BrushValueSerializer.cs
- TextWriterTraceListener.cs
- OneToOneMappingSerializer.cs
- ExpressionBindingCollection.cs
- UnknownBitmapEncoder.cs
- DiscardableAttribute.cs
- MembershipSection.cs
- PathSegment.cs
- XPathItem.cs
- PaginationProgressEventArgs.cs
- PanelStyle.cs
- MethodBuilderInstantiation.cs
- FlowPosition.cs
- SchemeSettingElementCollection.cs
- WsiProfilesElementCollection.cs
- dsa.cs
- SqlProvider.cs
- ObjectAssociationEndMapping.cs
- loginstatus.cs
- Timer.cs
- PeerTransportSecuritySettings.cs
- AudioBase.cs
- VerificationAttribute.cs
- DataBindingHandlerAttribute.cs
- RectAnimationUsingKeyFrames.cs
- WindowsEditBox.cs
- ListenerServiceInstallComponent.cs
- CounterSample.cs
- InstanceLockLostException.cs