LocalClientSecuritySettingsElement.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,指定时间戳有效的持续时间。 默认值为“00:15:00”。

属性

适用于