Udostępnij za pośrednictwem


MessageLoggingElement.MaxMessagesToLog Właściwość

Definicja

Pobiera lub ustawia wartość określającą maksymalną liczbę komunikatów do zarejestrowania.

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

Wartość właściwości

Maksymalna liczba komunikatów do zalogowania. Wartość domyślna to 1000.

Atrybuty

Dotyczy