HostTimeoutsElement.CloseTimeout Właściwość

Definicja

Pobiera lub ustawia przedział czasu dozwolony dla hosta usługi.Gets or sets the interval of time allowed for the service host to close.

public:
 property TimeSpan CloseTimeout { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("closeTimeout", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
public TimeSpan CloseTimeout { get; set; }
[System.Configuration.ConfigurationProperty("closeTimeout", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
[System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))]
public TimeSpan CloseTimeout { get; set; }
[System.Configuration.ConfigurationProperty("closeTimeout", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
[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=Mono.Cecil.CustomAttributeArgument)>]
member this.CloseTimeout : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("closeTimeout", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
[<System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))>]
member this.CloseTimeout : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("closeTimeout", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))>]
member this.CloseTimeout : TimeSpan with get, set
Public Property CloseTimeout As TimeSpan

Wartość właściwości

TimeSpan

TimeSpanOkreśla przedział czasu, jaki może być zamknięty dla hosta usługiThe TimeSpan that specifies the interval of time allowed for the service host to close

Atrybuty

Dotyczy