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,
	Exception e
)
Public Sub LogException ( _
	category As String, _
	e As Exception _
)

Parameters

category
String
Choose any string value to categorize the exception.
e
Exception
The exception.

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