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
- ExtendedPropertyDescriptor.cs
- ToolboxItem.cs
- CompositeTypefaceMetrics.cs
- SchemaContext.cs
- propertyentry.cs
- InternalDispatchObject.cs
- DataGridViewControlCollection.cs
- ConfigurationSchemaErrors.cs
- CommandExpr.cs
- LinqDataSourceContextEventArgs.cs
- Floater.cs
- Buffer.cs
- TextCollapsingProperties.cs
- Base64Encoder.cs
- InsufficientMemoryException.cs
- ServiceObjectContainer.cs
- FlowDocumentPageViewerAutomationPeer.cs
- PersonalizationStateInfo.cs
- WebServiceResponseDesigner.cs
- XmlDataLoader.cs
- DesignerVerbToolStripMenuItem.cs
- _ListenerRequestStream.cs
- SizeAnimationBase.cs
- HttpListener.cs
- MouseGestureConverter.cs
- DispatcherEventArgs.cs
- CommandBindingCollection.cs
- ConstraintEnumerator.cs
- ScrollData.cs
- PageAsyncTask.cs
- ObjectDataSourceMethodEventArgs.cs
- DrawListViewItemEventArgs.cs
- XPathAncestorIterator.cs
- DateTimeConverter.cs
- UriTemplateLiteralPathSegment.cs
- XmlUtf8RawTextWriter.cs
- FormClosedEvent.cs
- TypefaceMap.cs
- Delegate.cs
- ReadOnlyObservableCollection.cs
- Object.cs
- MobileErrorInfo.cs
- DataTrigger.cs
- ManagementEventArgs.cs
- SubtreeProcessor.cs
- WorkflowTransactionService.cs
- ConfigurationValue.cs
- WsdlInspector.cs
- WindowsListViewItem.cs
- TypeListConverter.cs
- XmlArrayItemAttributes.cs
- IODescriptionAttribute.cs
- DataGridTableCollection.cs
- DispatcherFrame.cs
- PatternMatcher.cs
- BrowserTree.cs
- SelectionItemProviderWrapper.cs
- KeyboardNavigation.cs
- ProjectionPlanCompiler.cs
- Timer.cs
- unsafenativemethodsother.cs
- CompositeTypefaceMetrics.cs
- Win32Interop.cs
- DynamicRenderer.cs
- DataGridViewDataErrorEventArgs.cs
- BuildProvider.cs
- ResXBuildProvider.cs
- FtpCachePolicyElement.cs
- SplitterCancelEvent.cs
- ToolStripMenuItem.cs
- OpenTypeMethods.cs
- HtmlValidatorAdapter.cs
- String.cs
- TimeSpan.cs
- RandomNumberGenerator.cs
- XmlSchemaAttributeGroupRef.cs
- SafeFileMapViewHandle.cs
- DbProviderConfigurationHandler.cs
- HebrewCalendar.cs
- ProcessThreadCollection.cs
- WorkflowInstance.cs
- ProtocolsConfigurationEntry.cs
- SendActivity.cs
- _CommandStream.cs
- PointAnimationUsingPath.cs
- sitestring.cs
- srgsitem.cs
- DataAdapter.cs
- ApplyTemplatesAction.cs
- ComIntegrationManifestGenerator.cs
- MultiViewDesigner.cs
- ActivityDesignerResources.cs
- DataBinder.cs
- EmptyEnumerator.cs
- ContainsSearchOperator.cs
- CodeComment.cs
- StringFormat.cs
- WebPartDisplayModeCancelEventArgs.cs
- WebPartMenuStyle.cs
- LayoutEditorPart.cs