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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.