Share via


MessageLoggingElement.MaxMessagesToLog Vlastnost

Definice

Získá nebo nastaví hodnotu, která určuje maximální počet zpráv k protokolování.

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

Hodnota vlastnosti

Maximální počet zpráv, které se mají protokolovat. Výchozí hodnota je 1 000.

Atributy

Platí pro