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
- ContentPlaceHolder.cs
- XmlSerializationGeneratedCode.cs
- ArraySet.cs
- TraceEventCache.cs
- ReadOnlyMetadataCollection.cs
- HttpRequest.cs
- InteropBitmapSource.cs
- InternalConfigHost.cs
- SessionKeyExpiredException.cs
- TypeExtensionSerializer.cs
- WebScriptServiceHost.cs
- HttpResponse.cs
- CopyOnWriteList.cs
- SqlNodeTypeOperators.cs
- WMIInterop.cs
- ClientTargetSection.cs
- Config.cs
- TableLayoutStyleCollection.cs
- CustomTypeDescriptor.cs
- TrackingMemoryStreamFactory.cs
- SqlRowUpdatedEvent.cs
- PageVisual.cs
- WsdlImporterElement.cs
- DispatcherExceptionEventArgs.cs
- RsaKeyGen.cs
- SqlDataSourceQueryEditorForm.cs
- Size.cs
- TheQuery.cs
- AccessDataSourceView.cs
- DirectionalLight.cs
- StorageMappingItemLoader.cs
- MimeBasePart.cs
- DiagnosticsConfigurationHandler.cs
- Decoder.cs
- HttpPostedFile.cs
- DataGridViewBand.cs
- ReadContentAsBinaryHelper.cs
- IListConverters.cs
- CssTextWriter.cs
- FlowDocumentFormatter.cs
- OdbcCommand.cs
- TypefaceCollection.cs
- FlowLayout.cs
- DebugController.cs
- UnaryNode.cs
- TdsParserSessionPool.cs
- UTF8Encoding.cs
- VariableQuery.cs
- DBConcurrencyException.cs
- RuleRef.cs
- FileDialogCustomPlacesCollection.cs
- COM2PictureConverter.cs
- StorageScalarPropertyMapping.cs
- DropShadowBitmapEffect.cs
- ResourceKey.cs
- Int16Converter.cs
- DataPointer.cs
- GeometryValueSerializer.cs
- CollectionAdapters.cs
- SerializationException.cs
- HighlightComponent.cs
- Attributes.cs
- DateTimeStorage.cs
- MimeXmlImporter.cs
- OutputScope.cs
- OutArgumentConverter.cs
- __TransparentProxy.cs
- TextRangeProviderWrapper.cs
- XPathSelectionIterator.cs
- ComplexObject.cs
- NativeObjectSecurity.cs
- TableCellsCollectionEditor.cs
- DbConnectionHelper.cs
- InkCanvas.cs
- ElementsClipboardData.cs
- HttpCacheVaryByContentEncodings.cs
- CodeDOMProvider.cs
- CompositionCommandSet.cs
- EntityContainer.cs
- DefinitionBase.cs
- ForEachDesigner.xaml.cs
- BlobPersonalizationState.cs
- KeyboardDevice.cs
- EventSetter.cs
- PageCatalogPartDesigner.cs
- ItemCheckEvent.cs
- UserPersonalizationStateInfo.cs
- View.cs
- TransformValueSerializer.cs
- MetadataArtifactLoaderComposite.cs
- TextServicesCompartmentContext.cs
- QueryAccessibilityHelpEvent.cs
- FactoryGenerator.cs
- EncryptedPackageFilter.cs
- SystemSounds.cs
- DataPagerFieldItem.cs
- TypeHelper.cs
- AnimatedTypeHelpers.cs
- FacetValues.cs
- DataBoundControlHelper.cs