LocalServiceSecuritySettingsElement.NegotiationTimeout Свойство

Определение

Возвращает или задает значение TimeSpan, указывающее максимальную продолжительность этапа согласования параметров безопасности между сервером и клиентом.

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

Значение свойства

TimeSpan

Положительное значение TimeSpan, указывающее максимальную продолжительность этапа согласования параметров безопасности между сервером и клиентом. Значение по умолчанию — 00:02:00.

Атрибуты

Комментарии

По истечении указанного времени возникает исключение.

Применяется к