Compartilhar via


FindCriteriaElement.Duration Propriedade

Definição

Obtém ou define o tempo máximo de espera por respostas de serviços em uma rede ou na 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")]
[System.ServiceModel.Configuration.ServiceModelTimeSpanValidator(MinValueString="00:00:00.001")]
public TimeSpan Duration { get; set; }
[System.Configuration.ConfigurationProperty("duration", DefaultValue="00:00:20")]
[System.ServiceModel.Configuration.ServiceModelTimeSpanValidator(MinValueString="00:00:00.001")]
[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")>]
[<System.ServiceModel.Configuration.ServiceModelTimeSpanValidator(MinValueString="00:00:00.001")>]
member this.Duration : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("duration", DefaultValue="00:00:20")>]
[<System.ServiceModel.Configuration.ServiceModelTimeSpanValidator(MinValueString="00:00:00.001")>]
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))>]
member this.Duration : TimeSpan with get, set
Public Property Duration As TimeSpan

Valor da propriedade

TimeSpan

Um objeto TimeSpan define o período de espera.

Atributos
TypeConverterAttribute ConfigurationPropertyAttribute ServiceModelTimeSpanValidatorAttribute

Aplica-se a