MessageLoggingElement::MaxMessagesToLog Property

 

Gets or sets a value that specifies the maximum number of messages to log.

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
[ConfigurationPropertyAttribute("maxMessagesToLog", DefaultValue = 10000)]
[IntegerValidatorAttribute(MinValue = -1)]
property int MaxMessagesToLog {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

The maximum number of messages to log. The default is 1000.

.NET Framework
Available since 3.0
Return to top
Show: