Share via


SecurityElementBase.IncludeTimestamp 屬性

定義

取得或設定布林值,這個值會指定每個訊息是否包含時間戳記。

public:
 property bool IncludeTimestamp { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("includeTimestamp", DefaultValue=true)]
public bool IncludeTimestamp { get; set; }
[<System.Configuration.ConfigurationProperty("includeTimestamp", DefaultValue=true)>]
member this.IncludeTimestamp : bool with get, set
Public Property IncludeTimestamp As Boolean

屬性值

如果訊息包含時間戳記,則為 true,否則為 false

屬性

適用於