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
- ResourceDisplayNameAttribute.cs
- TagPrefixInfo.cs
- PersistChildrenAttribute.cs
- EventListenerClientSide.cs
- CodeValidator.cs
- EUCJPEncoding.cs
- TextEditorThreadLocalStore.cs
- XamlParser.cs
- SqlRecordBuffer.cs
- RemoveFromCollection.cs
- TimeZone.cs
- DynamicPropertyReader.cs
- InvalidProgramException.cs
- ExpressionEditorAttribute.cs
- ThemeInfoAttribute.cs
- COM2EnumConverter.cs
- PopupEventArgs.cs
- FloaterBaseParagraph.cs
- TextFindEngine.cs
- TrackingRecord.cs
- HttpModuleAction.cs
- AppDomainEvidenceFactory.cs
- VoiceObjectToken.cs
- GeneratedView.cs
- DataTableReaderListener.cs
- PerformanceCounterManager.cs
- CapabilitiesState.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- shaper.cs
- RSAOAEPKeyExchangeFormatter.cs
- UnsafeNativeMethods.cs
- SuspendDesigner.cs
- HttpPostClientProtocol.cs
- xmlsaver.cs
- securitymgrsite.cs
- FixedStringLookup.cs
- TemplateInstanceAttribute.cs
- TextTrailingWordEllipsis.cs
- AbsoluteQuery.cs
- autovalidator.cs
- WebSysDefaultValueAttribute.cs
- CardSpaceShim.cs
- BaseCodeDomTreeGenerator.cs
- Configuration.cs
- ICspAsymmetricAlgorithm.cs
- ExtensionElement.cs
- TextViewSelectionProcessor.cs
- PropertyPath.cs
- VirtualPathProvider.cs
- XPathNodePointer.cs
- TreeIterator.cs
- TextAction.cs
- HostingPreferredMapPath.cs
- PtsCache.cs
- Msec.cs
- StackSpiller.Temps.cs
- DefaultEventAttribute.cs
- XmlUtf8RawTextWriter.cs
- MenuItemCollectionEditor.cs
- SoapTypeAttribute.cs
- SqlGenericUtil.cs
- Scene3D.cs
- EntityDescriptor.cs
- XNodeValidator.cs
- ActivityDesigner.cs
- WpfSharedXamlSchemaContext.cs
- Atom10FormatterFactory.cs
- PointCollection.cs
- Reference.cs
- GroupQuery.cs
- NavigationExpr.cs
- MarkupCompilePass2.cs
- ActiveXHost.cs
- PageHandlerFactory.cs
- ColumnWidthChangingEvent.cs
- AssemblyAttributes.cs
- FontInfo.cs
- Point3DValueSerializer.cs
- SmtpReplyReaderFactory.cs
- EncryptedData.cs
- TrackingWorkflowEventArgs.cs
- HttpResponseHeader.cs
- TableRowCollection.cs
- WindowsStatusBar.cs
- BindingExpressionBase.cs
- DataContractSerializerOperationGenerator.cs
- XmlSchemaComplexType.cs
- Vertex.cs
- XmlCharacterData.cs
- SQLInt64Storage.cs
- BindingListCollectionView.cs
- FormCollection.cs
- TransactionException.cs
- ExternalCalls.cs
- SamlAuthenticationClaimResource.cs
- TabItemWrapperAutomationPeer.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- CheckedListBox.cs
- ZipIORawDataFileBlock.cs
- GenericEnumerator.cs