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
- TrackingRecord.cs
- AxisAngleRotation3D.cs
- PixelFormat.cs
- Environment.cs
- EventArgs.cs
- ParsedAttributeCollection.cs
- Win32SafeHandles.cs
- DataBindingValueUIHandler.cs
- DataServiceHost.cs
- RewritingProcessor.cs
- CssTextWriter.cs
- Attribute.cs
- Misc.cs
- CustomAttributeSerializer.cs
- ResourceSet.cs
- GridEntryCollection.cs
- XmlnsDictionary.cs
- WebPartChrome.cs
- _NetRes.cs
- GroupBoxAutomationPeer.cs
- SqlBuilder.cs
- BitmapDecoder.cs
- TypeElementCollection.cs
- ICspAsymmetricAlgorithm.cs
- DataGridViewRowCancelEventArgs.cs
- XmlSchemas.cs
- TypeValidationEventArgs.cs
- StyleCollection.cs
- LineBreakRecord.cs
- Number.cs
- IssuanceLicense.cs
- SimpleTypeResolver.cs
- IisTraceListener.cs
- EventSourceCreationData.cs
- EntityDataSourceDesignerHelper.cs
- BitStack.cs
- UiaCoreProviderApi.cs
- HttpCapabilitiesBase.cs
- LineGeometry.cs
- HtmlTernaryTree.cs
- x509utils.cs
- ColumnCollection.cs
- OciLobLocator.cs
- BinHexEncoder.cs
- DataGridAutoFormat.cs
- PersistenceTypeAttribute.cs
- SafeHandles.cs
- PrincipalPermission.cs
- AccessDataSource.cs
- Configuration.cs
- DataSourceIDConverter.cs
- DBConcurrencyException.cs
- XpsSerializationManager.cs
- ContextInformation.cs
- JournalNavigationScope.cs
- PreviewPageInfo.cs
- DragCompletedEventArgs.cs
- EastAsianLunisolarCalendar.cs
- QualifierSet.cs
- ObjectStorage.cs
- FormatterServices.cs
- DataGridViewComboBoxColumn.cs
- PartialCachingAttribute.cs
- MiniModule.cs
- WeakReferenceEnumerator.cs
- StrokeNodeOperations2.cs
- ILGenerator.cs
- IsolatedStorage.cs
- FileDialogCustomPlace.cs
- ObjectDataSourceFilteringEventArgs.cs
- FontWeights.cs
- RuntimeResourceSet.cs
- SoapIgnoreAttribute.cs
- HttpModuleCollection.cs
- DetailsViewUpdateEventArgs.cs
- PasswordRecovery.cs
- SyntaxCheck.cs
- CalendarTable.cs
- BrowserCapabilitiesFactory.cs
- NeutralResourcesLanguageAttribute.cs
- ContentType.cs
- RoleGroup.cs
- ArgIterator.cs
- ObjectViewFactory.cs
- XmlComplianceUtil.cs
- IDispatchConstantAttribute.cs
- CheckPair.cs
- ButtonColumn.cs
- AttributeProviderAttribute.cs
- TdsRecordBufferSetter.cs
- ScriptingProfileServiceSection.cs
- XmlDataSourceNodeDescriptor.cs
- SchemaImporterExtensionElementCollection.cs
- PackageProperties.cs
- ScrollableControl.cs
- DockEditor.cs
- TraceSwitch.cs
- ReadOnlyHierarchicalDataSourceView.cs
- QueryCursorEventArgs.cs
- FontFamily.cs