TraceRecord Constructor
Initializes a new instance of the TraceRecord class.
Namespace: System.Web.Http.Tracing
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub New ( _
request As HttpRequestMessage, _
category As String, _
level As TraceLevel _
)
'Usage
Dim request As HttpRequestMessage
Dim category As String
Dim level As TraceLevel
Dim instance As New TraceRecord(request, _
category, level)
public TraceRecord(
HttpRequestMessage request,
string category,
TraceLevel level
)
public:
TraceRecord(
HttpRequestMessage^ request,
String^ category,
TraceLevel level
)
new :
request:HttpRequestMessage *
category:string *
level:TraceLevel -> TraceRecord
public function TraceRecord(
request : HttpRequestMessage,
category : String,
level : TraceLevel
)
Parameters
request
Type: HttpRequestMessageThe message request.
category
Type: System.StringThe trace category.
level
Type: System.Web.Http.Tracing.TraceLevelThe trace level.