Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TraceRecord Class

 

Represents a trace record.

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

System.Object
  System.Web.Http.Tracing.TraceRecord

[DebuggerDisplayAttribute("Category: {Category}, Operation: {Operation}, Level: {Level}, Kind: {Kind}")]
public class TraceRecord

NameDescription
System_CAPS_pubmethodTraceRecord(HttpRequestMessage, String, TraceLevel)

Initializes a new instance of the TraceRecord class.

NameDescription
System_CAPS_pubpropertyCategory

Gets or sets the tracing category.

System_CAPS_pubpropertyException

Gets or sets the exception.

System_CAPS_pubpropertyKind

Gets or sets the kind of trace.

System_CAPS_pubpropertyLevel

Gets or sets the tracing level.

System_CAPS_pubpropertyMessage

Gets or sets the message.

System_CAPS_pubpropertyOperation

Gets or sets the logical operation name being performed.

System_CAPS_pubpropertyOperator

Gets or sets the logical name of the object performing the operation.

System_CAPS_pubpropertyProperties

Gets the optional user-defined properties.

System_CAPS_pubpropertyRequest

Gets the HttpRequestMessage from the record.

System_CAPS_pubpropertyRequestId

Gets the correlation ID from the Request.

System_CAPS_pubpropertyStatus

Gets or sets the HttpStatusCode associated with the HttpResponseMessage.

System_CAPS_pubpropertyTimestamp

Gets the DateTime of this trace (via UtcNow).

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: