Call this method to log errors to your App's Error page.

Namespace:  RedCritterV1
Assembly:  RedCritterV1 (in RedCritterV1.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

      
 C#  Visual Basic 
public void LogException(
	string category,
	string message,
	string exception
)
Public Sub LogException ( _
	category As String, _
	message As String, _
	exception As String _
)

Parameters

category
String
Choose any string value to categorize the exception.
message
String
The brief error message string.
exception
String
The detailed error message string.

Remarks

Since your App runs on remote users' machines, this method is very useful for determining if errors are occurring. Wrap areas that have potential for errors with a try catch and log the exception with this method.

See Also