asp.net.ph

TraceContext.Warn 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. All warnings appear in the log as red text.

[ VB ]
Overloads Public Sub Warn ( _
   ByVal category As String, _
   ByVal message As String, _
   ByVal errorInfo As Exception _
)

[ C# ]
public void Warn (
   string category,
   string message,
   Exception errorInfo
);

[ C++ ]
public: void Warn (
   String* category,
   String* message,
   Exception* errorInfo
);

[ JScript ]
public function Warn (
   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.Warn Overload List Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

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

You can help support asp.net.ph