Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / MessageLoggingElement.cs / 1 / MessageLoggingElement.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System; using System.ServiceModel.Channels; using System.ServiceModel.Dispatcher; using System.Configuration; using System.Collections.Generic; using System.Globalization; public sealed partial class MessageLoggingElement : ConfigurationElement { // These three constructors are used by the configuration system. public MessageLoggingElement() : base() { } [ConfigurationProperty(ConfigurationStrings.LogEntireMessage, DefaultValue = false)] public bool LogEntireMessage { get { return (bool)base[ConfigurationStrings.LogEntireMessage]; } set { base[ConfigurationStrings.LogEntireMessage] = value; } } [ConfigurationProperty(ConfigurationStrings.LogMalformedMessages, DefaultValue = false)] public bool LogMalformedMessages { get { return (bool)base[ConfigurationStrings.LogMalformedMessages]; } set { base[ConfigurationStrings.LogMalformedMessages] = value; } } [ConfigurationProperty(ConfigurationStrings.LogMessagesAtServiceLevel, DefaultValue = false)] public bool LogMessagesAtServiceLevel { get { return (bool)base[ConfigurationStrings.LogMessagesAtServiceLevel]; } set { base[ConfigurationStrings.LogMessagesAtServiceLevel] = value; } } [ConfigurationProperty(ConfigurationStrings.LogMessagesAtTransportLevel, DefaultValue = false)] public bool LogMessagesAtTransportLevel { get { return (bool)base[ConfigurationStrings.LogMessagesAtTransportLevel]; } set { base[ConfigurationStrings.LogMessagesAtTransportLevel] = value; } } [ConfigurationProperty(ConfigurationStrings.MaxMessagesToLog, DefaultValue = 10000)] [IntegerValidator(MinValue = -1)] public int MaxMessagesToLog { get { return (int)base[ConfigurationStrings.MaxMessagesToLog]; } set { base[ConfigurationStrings.MaxMessagesToLog] = value; } } [ConfigurationProperty(ConfigurationStrings.MaxSizeOfMessageToLog, DefaultValue = 262144)] [IntegerValidator(MinValue = -1)] public int MaxSizeOfMessageToLog { get { return (int)base[ConfigurationStrings.MaxSizeOfMessageToLog]; } set { base[ConfigurationStrings.MaxSizeOfMessageToLog] = value; } } [ConfigurationProperty(ConfigurationStrings.Filters, DefaultValue = null)] public XPathMessageFilterElementCollection Filters { get { return (XPathMessageFilterElementCollection)base[ConfigurationStrings.Filters]; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PathBox.cs
- Debug.cs
- PassportAuthenticationModule.cs
- DoubleAnimation.cs
- RegisteredDisposeScript.cs
- IncrementalCompileAnalyzer.cs
- activationcontext.cs
- HttpListenerException.cs
- BitmapSizeOptions.cs
- AtlasWeb.Designer.cs
- DataSourceXmlAttributeAttribute.cs
- CustomActivityDesigner.cs
- TimeIntervalCollection.cs
- RecordsAffectedEventArgs.cs
- CharacterHit.cs
- CriticalHandle.cs
- XNameTypeConverter.cs
- LogLogRecord.cs
- XmlSchemaAttributeGroup.cs
- ConditionChanges.cs
- TripleDESCryptoServiceProvider.cs
- WebPartCloseVerb.cs
- BuildProviderUtils.cs
- OneOf.cs
- NumberSubstitution.cs
- Utilities.cs
- Composition.cs
- IDReferencePropertyAttribute.cs
- SRef.cs
- MapPathBasedVirtualPathProvider.cs
- OutputCacheSettingsSection.cs
- LinkedList.cs
- RegistryDataKey.cs
- MessageFilterException.cs
- CodeAccessPermission.cs
- AttributeUsageAttribute.cs
- HtmlWindow.cs
- WindowsFormsEditorServiceHelper.cs
- EntityViewGenerationAttribute.cs
- BookmarkManager.cs
- Ray3DHitTestResult.cs
- HttpServerUtilityWrapper.cs
- ContentElement.cs
- TdsParameterSetter.cs
- MarginsConverter.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- PathData.cs
- RegexMatchCollection.cs
- _ListenerResponseStream.cs
- NamespaceCollection.cs
- ImportStoreException.cs
- CultureInfoConverter.cs
- PropertyTabChangedEvent.cs
- Divide.cs
- ControlBuilderAttribute.cs
- XmlException.cs
- Pkcs7Signer.cs
- SerializationFieldInfo.cs
- HeaderedContentControl.cs
- LayoutInformation.cs
- RequestCacheValidator.cs
- ModulesEntry.cs
- Vars.cs
- EmbeddedObject.cs
- TypeHelpers.cs
- MenuItemStyle.cs
- iisPickupDirectory.cs
- GroupByExpressionRewriter.cs
- CacheMemory.cs
- ParameterElementCollection.cs
- XmlILCommand.cs
- StatusBar.cs
- ZipPackagePart.cs
- DocumentOutline.cs
- MethodRental.cs
- PageCodeDomTreeGenerator.cs
- SplayTreeNode.cs
- StructuredTypeEmitter.cs
- StyleHelper.cs
- GetKeyedHashRequest.cs
- HandledEventArgs.cs
- CompensableActivity.cs
- QilGeneratorEnv.cs
- TemplateColumn.cs
- XmlMapping.cs
- PolyQuadraticBezierSegment.cs
- WebBrowserBase.cs
- FileNameEditor.cs
- PersonalizationStateInfoCollection.cs
- ListItemConverter.cs
- BaseValidator.cs
- WindowsFormsHelpers.cs
- DataGridViewTopRowAccessibleObject.cs
- SessionStateUtil.cs
- TextParaLineResult.cs
- HMACSHA256.cs
- Code.cs
- ValidatingReaderNodeData.cs
- XmlSchemaNotation.cs
- QilGenerator.cs