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 | |
|---|---|---|
| .jpeg) | TraceRecord | Initializes a new instance of the TraceRecord class. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .jpeg) | Category | Gets or sets the tracing category. | 
| .jpeg) | Exception | Gets or sets the exception. | 
| .jpeg) | Kind | Gets or sets the kind of trace. | 
| .jpeg) | Level | Gets or sets the tracing level. | 
| .jpeg) | Message | Gets or sets the message. | 
| .jpeg) | Operation | Gets or sets the logical operation name being performed. | 
| .jpeg) | Operator | Gets or sets the logical name of the object performing the operation. | 
| .jpeg) | Properties | Gets the optional user-defined properties. | 
| .jpeg) | Request | Gets the HttpRequestMessage from the record. | 
| .jpeg) | RequestId | Gets the correlation ID from the Request. | 
| .jpeg) | Status | Gets or sets the HttpStatusCode associated with the HttpResponseMessage. | 
| .jpeg) | Timestamp | Gets the DateTime of this trace (via UtcNow). | 
Top
Methods
| Name | Description | |
|---|---|---|
| .jpeg) | Equals | (Inherited from Object.) | 
| .jpeg) | Finalize | (Inherited from Object.) | 
| .jpeg) | GetHashCode | (Inherited from Object.) | 
| .jpeg) | GetType | (Inherited from Object.) | 
| .jpeg) | MemberwiseClone | (Inherited from Object.) | 
| .jpeg) | 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.