FindCriteriaElement::Duration Property

.NET Framework (current version)
 

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

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

public:
[ConfigurationPropertyAttribute("duration", DefaultValue = "00:00:20")]
property TimeSpan Duration {
	TimeSpan get();
	void set(TimeSpan value);
}

Property Value

Type: System::TimeSpan

A timespan object the defines the waiting period.

.NET Framework
Available since 4.0
Return to top
Show: