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
- LazyTextWriterCreator.cs
- InvokeMethodActivity.cs
- WebPartAddingEventArgs.cs
- IsolatedStorageFilePermission.cs
- ClientSession.cs
- XamlStackWriter.cs
- SqlDataRecord.cs
- ContextMenuStrip.cs
- ToolStripSeparator.cs
- ApplicationServicesHostFactory.cs
- Line.cs
- InternalPolicyElement.cs
- Inline.cs
- InputBinding.cs
- DataGridViewDesigner.cs
- ValueUnavailableException.cs
- TemplateBamlRecordReader.cs
- OdbcError.cs
- EventNotify.cs
- AncestorChangedEventArgs.cs
- FusionWrap.cs
- SqlWriter.cs
- AssociationType.cs
- SchemaCollectionCompiler.cs
- OrderByExpression.cs
- DuplicateMessageDetector.cs
- RootBrowserWindowAutomationPeer.cs
- XmlNodeChangedEventManager.cs
- EqualityComparer.cs
- MemberHolder.cs
- Style.cs
- ViewUtilities.cs
- FieldBuilder.cs
- DynamicILGenerator.cs
- Environment.cs
- Rijndael.cs
- PopupRoot.cs
- SiteIdentityPermission.cs
- ViewgenContext.cs
- XmlSerializer.cs
- PageOutputQuality.cs
- SQLMembershipProvider.cs
- WindowsListViewSubItem.cs
- ManagementBaseObject.cs
- SortKey.cs
- RequestQueryProcessor.cs
- ConfigXmlCDataSection.cs
- BrowserCapabilitiesFactory.cs
- RedBlackList.cs
- WebConfigurationFileMap.cs
- ButtonChrome.cs
- Configuration.cs
- UInt64Converter.cs
- OperationSelectorBehavior.cs
- ContainerActivationHelper.cs
- dataprotectionpermissionattribute.cs
- EmptyImpersonationContext.cs
- SoapMessage.cs
- ScrollBar.cs
- SelectedGridItemChangedEvent.cs
- TextParaClient.cs
- Cursor.cs
- Typography.cs
- DragDeltaEventArgs.cs
- SymmetricAlgorithm.cs
- CellLabel.cs
- Thread.cs
- Rectangle.cs
- AppSecurityManager.cs
- GeneralTransform2DTo3D.cs
- EntityUtil.cs
- XmlSchemaAnnotated.cs
- PropertyGridCommands.cs
- TraceSwitch.cs
- XmlSchemaAnnotation.cs
- ControlParser.cs
- TableLayoutPanelCellPosition.cs
- _NestedMultipleAsyncResult.cs
- SetterBaseCollection.cs
- precedingsibling.cs
- MenuItemCollectionEditorDialog.cs
- Int32RectConverter.cs
- XhtmlBasicObjectListAdapter.cs
- DocumentReference.cs
- XmlBinaryReaderSession.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- BaseCollection.cs
- PickBranchDesigner.xaml.cs
- DbBuffer.cs
- SchemaNames.cs
- WebControlsSection.cs
- StateDesigner.Layouts.cs
- SymDocumentType.cs
- EventSourceCreationData.cs
- SessionPageStateSection.cs
- ProcessModelSection.cs
- SqlXmlStorage.cs
- httpstaticobjectscollection.cs
- AddInBase.cs
- SerialPort.cs