FindCriteriaElement.Duration Свойство

Определение

Возвращает или задает максимальное время ожидания ответов от служб по сети или через Интернет.

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

Значение свойства

Объект интервала времени, который определяет период ожидания.

Атрибуты

Применяется к