共用方式為


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"

屬性

備註

如果超過時限,便會擲回例外狀況。

適用於