MessageLoggingElement.MaxMessagesToLog Proprietà

Definizione

Ottiene o imposta un valore che specifica il numero massimo di messaggi da registrare.

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

Valore della proprietà

Numero massimo di messaggi da registrare. Il valore predefinito è 1000.

Attributi

Si applica a