FindCriteriaElement::MaxResults Property

.NET Framework (current version)
 

Gets or sets the maximum number of replies to wait for, from services on a network or the Internet.

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

public:
[ConfigurationPropertyAttribute("maxResults", DefaultValue = 2147483647)]
[IntegerValidatorAttribute(MinValue = 1, MaxValue = 2147483647)]
property int MaxResults {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

A maximum number.

If MaxResults replies are received before Duration has elapsed, the find operation ends.

.NET Framework
Available since 4.0
Return to top
Show: