Partage via


HostTimeoutsElement.CloseTimeout Propriété

Définition

Obtient ou définit l'intervalle de temps pendant lequel la fermeture de l'hôte du service est autorisée.

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

Valeur de propriété

TimeSpan

TimeSpan spécifiant l'intervalle de temps pendant lequel la fermeture de l'hôte du service est autorisée.

Attributs

S’applique à