MessageLoggingElement.MaxMessagesToLog 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 number of messages to log.
public:
property int MaxMessagesToLog { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxMessagesToLog", DefaultValue=10000)]
[System.Configuration.IntegerValidator(MinValue=-1)]
public int MaxMessagesToLog { get; set; }
[<System.Configuration.ConfigurationProperty("maxMessagesToLog", DefaultValue=10000)>]
[<System.Configuration.IntegerValidator(MinValue=-1)>]
member this.MaxMessagesToLog : int with get, set
Public Property MaxMessagesToLog As Integer
Property Value
The maximum number of messages to log. The default is 1000.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.