System.Web Namespace TraceContext Class
Writes trace information to the trace log, including any user-defined categories,trace messages, and error information.
[ VB ]
Overloads Public Sub Write ( _
ByVal category As String, _
ByVal message As String, _
ByVal errorInfo As Exception _
)
[ C# ]
public void Write (
string category,
string message,
Exception errorInfo
);
[ C++ ]
public: void Write (
String* category,
String* message,
Exception* errorInfo
);
[ JScript ]
public function Write (
category : String,
message : String,
errorInfo : Exception
);
- category
- The trace category that receives the message.
- message
- The trace message to write to the log.
- errorInfo
- An Exception that contains information about the error.
TraceContext Members TraceContext.Write Overload List