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
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.