Share via


FindCriteriaElement.Duration Propriété

Définition

Obtient ou définit la durée d'attente maximum des réponses envoyées par les services sur un réseau ou 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

Valeur de propriété

Objet d'intervalle de temps qui définit la période d'attente.

Attributs

S’applique à