Share via


LocalServiceSecuritySettingsElement.NegotiationTimeout Vlastnost

Definice

Získá nebo nastaví , TimeSpan který určuje maximální dobu trvání pro fázi vyjednávání zabezpečení mezi serverem 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

Hodnota vlastnosti

Kladná TimeSpan hodnota, která určuje maximální dobu trvání fáze vyjednávání zabezpečení mezi serverem a klientem. Výchozí hodnota je 00:02:00.

Atributy

Poznámky

Pokud časový limit vyprší, vyvolá se výjimka.

Platí pro