TraceRecord Class
Represents a trace record.
Inheritance Hierarchy
System.Object
System.Web.Http.Tracing.TraceRecord
Namespace: System.Web.Http.Tracing
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Class TraceRecord
'Usage
Dim instance As TraceRecord
public class TraceRecord
public ref class TraceRecord
type TraceRecord = class end
public class TraceRecord
The TraceRecord type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TraceRecord | Initializes a new instance of the TraceRecord class. |
Top
Properties
Name | Description | |
---|---|---|
Category | Gets or sets the tracing category. | |
Exception | Gets or sets the exception. | |
Kind | Gets or sets the kind of trace. | |
Level | Gets or sets the tracing level. | |
Message | Gets or sets the message. | |
Operation | Gets or sets the logical operation name being performed. | |
Operator | Gets or sets the logical name of the object performing the operation. | |
Properties | Gets the optional user-defined properties. | |
Request | Gets the HttpRequestMessage from the record. | |
RequestId | Gets the correlation ID from the Request. | |
Status | Gets or sets the HttpStatusCode associated with the HttpResponseMessage. | |
Timestamp | Gets the DateTime of this trace (via UtcNow). |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.