Udostępnij za pośrednictwem


LocalServiceSecuritySettingsElement.NegotiationTimeout Właściwość

Definicja

Pobiera lub ustawia wartość TimeSpan określającą maksymalny czas trwania fazy negocjacji zabezpieczeń między serwerem a klientem.

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

Wartość właściwości

Wartość dodatnia TimeSpan określająca maksymalny czas trwania fazy negocjacji zabezpieczeń między serwerem a klientem. Wartość domyślna to "00:02:00"

Atrybuty

Uwagi

Jeśli limit czasu wygaśnie, zostanie zgłoszony wyjątek.

Dotyczy