Share via


EventRecord.Timestamp Property

Applies to: Semantic Logging Application Block 1.0

Gets or sets the timestamp of the event.

Namespace: Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Sinks.Database
Assembly: Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Database (in Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Database.dll) Version: 1.0.0.0 (1.0.1304.0)

Syntax

public DateTimeOffset Timestamp { get; set; }
'Declaration
Public Property Timestamp As DateTimeOffset
    Get
    Set
public:
property DateTimeOffset Timestamp {
    DateTimeOffset get ();
    void set (DateTimeOffset value);
}

Property Value

Type: DateTimeOffset
The timestamp of the event.

See Also

EventRecord Class

EventRecord Members

Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Sinks.Database Namespace