MessageLoggingElement::MaxSizeOfMessageToLog Property
.NET Framework (current version)
Gets or sets a value that specifies the maximum size, in bytes, of a message to log.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: [ConfigurationPropertyAttribute("maxSizeOfMessageToLog", DefaultValue = 262144)] [IntegerValidatorAttribute(MinValue = -1)] property int MaxSizeOfMessageToLog { int get(); void set(int value); }
Property Value
Type: System::Int32The maximum size, in bytes, of a message to log. Messages larger than the limit are not logged. This setting affects all trace levels. The default is Int32.MaxValue.
.NET Framework
Available since 3.0
Available since 3.0
Show: