HostTimeoutsElement.OpenTimeout Właściwość

Definicja

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

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

Wartość właściwości

TimeSpan

TimeSpanOkreśla przedział czasu, który może zostać otwarty przez hosta usługi.The TimeSpan that specifies the interval of time allowed for the service host to open.

Atrybuty

Dotyczy