Share via


FindCriteriaElement.Duration Vlastnost

Definice

Získá nebo nastaví maximální dobu čekání na odpovědi ze služeb v síti nebo internetu.

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

Hodnota vlastnosti

Objekt časového rozsahu definuje čekací dobu.

Atributy

Platí pro