asp.net.ph

TraceContext.Write Method ( String, String, Exception )

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
);

Parameters

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.
See Also

TraceContext Members   TraceContext.Write Overload List Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note