FindCriteriaElement.Duration Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the maximum time to wait for replies from services on a network or the Internet.
public:
property TimeSpan Duration { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("duration", DefaultValue="00:00:20")]
public TimeSpan Duration { get; set; }
[System.Configuration.ConfigurationProperty("duration", DefaultValue="00:00:20")]
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))]
public TimeSpan Duration { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))>]
[<System.Configuration.ConfigurationProperty("duration", DefaultValue="00:00:20")>]
member this.Duration : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("duration", DefaultValue="00:00:20")>]
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))>]
member this.Duration : TimeSpan with get, set
Public Property Duration As TimeSpan
Property Value
A timespan object the defines the waiting period.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.