Compartilhar via


HostTimeoutsElement.OpenTimeout Propriedade

Definição

Obtém ou define um intervalo de tempo permitido para o host de serviço abrir.

public:
 property TimeSpan OpenTimeout { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("openTimeout", DefaultValue="00:01:00")]
public TimeSpan OpenTimeout { get; set; }
[System.Configuration.ConfigurationProperty("openTimeout", DefaultValue="00:01:00")]
[System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))]
public TimeSpan OpenTimeout { get; set; }
[System.Configuration.ConfigurationProperty("openTimeout", DefaultValue="00:01:00")]
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))]
public TimeSpan OpenTimeout { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))>]
[<System.Configuration.ConfigurationProperty("openTimeout", DefaultValue="00:01:00")>]
member this.OpenTimeout : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("openTimeout", DefaultValue="00:01:00")>]
[<System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))>]
member this.OpenTimeout : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("openTimeout", DefaultValue="00:01:00")>]
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))>]
member this.OpenTimeout : TimeSpan with get, set
Public Property OpenTimeout As TimeSpan

Valor da propriedade

TimeSpan

O TimeSpan que especifica o intervalo de tempo permitido para o host de serviço abrir.

Atributos

Aplica-se a