共用方式為


LocalServiceSecuritySettingsElement.TimestampValidityDuration 屬性

定義

取得或設定 TimeSpan,這個項目會指定時間戳記有效的持續期間。

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

屬性值

TimeSpan

正的 TimeSpan,指定時間戳記有效的持續期間。 預設為 "00:15:00"。

屬性

適用於