Compartilhar via


TraceRecord.Timestamp Property

Gets the DateTime of this trace (via UtcNow).

Namespace:  System.Web.Http.Tracing
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Property Timestamp As DateTime 
    Get 
    Private Set
'Usage
Dim instance As TraceRecord 
Dim value As DateTime 

value = instance.Timestamp
public DateTime Timestamp { get; private set; }
public:
property DateTime Timestamp {
    DateTime get ();
    private: void set (DateTime value);
}
member Timestamp : DateTime with get, private set
function get Timestamp () : DateTime 
private function set Timestamp (value : DateTime)

Property Value

Type: System.DateTime
The DateTime of this trace (via UtcNow).

See Also

Reference

TraceRecord Class

System.Web.Http.Tracing Namespace