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
- WCFServiceClientProxyGenerator.cs
- ObjectCloneHelper.cs
- ObfuscateAssemblyAttribute.cs
- Label.cs
- XPathExpr.cs
- UserControl.cs
- ExpressionTextBox.xaml.cs
- DocumentApplication.cs
- AlphabetConverter.cs
- AssociationSetMetadata.cs
- FormatConvertedBitmap.cs
- NavigatingCancelEventArgs.cs
- TreeNode.cs
- NameNode.cs
- DecimalAnimationBase.cs
- PointAnimation.cs
- CoTaskMemHandle.cs
- LogSwitch.cs
- CharConverter.cs
- TextMetrics.cs
- DataGridRowClipboardEventArgs.cs
- CodeObject.cs
- JulianCalendar.cs
- TransactionFlowBindingElementImporter.cs
- SafeNativeMethods.cs
- BookmarkCallbackWrapper.cs
- FastEncoderWindow.cs
- FixedSOMTableRow.cs
- ApplicationSecurityManager.cs
- CqlLexer.cs
- SQLConvert.cs
- HtmlMobileTextWriter.cs
- CustomCategoryAttribute.cs
- DebuggerAttributes.cs
- ToolStripSeparatorRenderEventArgs.cs
- initElementDictionary.cs
- TCEAdapterGenerator.cs
- NativeObjectSecurity.cs
- LayeredChannelFactory.cs
- Int64.cs
- ThicknessConverter.cs
- TargetControlTypeAttribute.cs
- IItemContainerGenerator.cs
- NamespaceMapping.cs
- Variable.cs
- AstNode.cs
- ClientFormsIdentity.cs
- OleDbStruct.cs
- FileDialogPermission.cs
- InputBuffer.cs
- Math.cs
- SecurityIdentifierConverter.cs
- DataBoundControlDesigner.cs
- CustomSignedXml.cs
- ExtractCollection.cs
- PropertyGroupDescription.cs
- SequentialUshortCollection.cs
- TextRangeEditLists.cs
- ConfigXmlText.cs
- OutOfProcStateClientManager.cs
- CaseInsensitiveHashCodeProvider.cs
- DrawingAttributesDefaultValueFactory.cs
- ScrollBar.cs
- SqlDependencyListener.cs
- TextEditorContextMenu.cs
- ItemsPanelTemplate.cs
- WpfXamlLoader.cs
- QilDataSource.cs
- DataRelationCollection.cs
- ResetableIterator.cs
- NextPreviousPagerField.cs
- DeflateStream.cs
- LogLogRecordHeader.cs
- ProfileService.cs
- ItemCheckedEvent.cs
- NumericUpDown.cs
- WorkflowIdleBehavior.cs
- AspNetPartialTrustHelpers.cs
- RelationshipConverter.cs
- DbConnectionOptions.cs
- SqlPersonalizationProvider.cs
- XmlSerializableServices.cs
- Decorator.cs
- TemplateControlBuildProvider.cs
- UIElement3DAutomationPeer.cs
- ColorTranslator.cs
- Expr.cs
- FaultDescriptionCollection.cs
- ModelPerspective.cs
- FontInfo.cs
- XmlBaseReader.cs
- ScriptControlDescriptor.cs
- PropertyGrid.cs
- ControllableStoryboardAction.cs
- OperatingSystem.cs
- ExclusiveNamedPipeTransportManager.cs
- TableAutomationPeer.cs
- FontEditor.cs
- SettingsPropertyWrongTypeException.cs
- WebPartZoneDesigner.cs