편집

다음을 통해 공유


MessageLoggingElement.MaxMessagesToLog Property

Definition

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