MessageLoggingElement.MaxSizeOfMessageToLog Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that specifies the maximum size, in bytes, of a message to log.
public:
property int MaxSizeOfMessageToLog { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxSizeOfMessageToLog", DefaultValue=262144)]
[System.Configuration.IntegerValidator(MinValue=-1)]
public int MaxSizeOfMessageToLog { get; set; }
[<System.Configuration.ConfigurationProperty("maxSizeOfMessageToLog", DefaultValue=262144)>]
[<System.Configuration.IntegerValidator(MinValue=-1)>]
member this.MaxSizeOfMessageToLog : int with get, set
Public Property MaxSizeOfMessageToLog As Integer
Property Value
The 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.
- Attributes
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.