Error Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Records an error message.
Overload List
Name | Description | |
---|---|---|
Error(String, String) | Records an error message. (Overrides DebugContext..::.Error(String, String).) | |
Error(String, String, Exception) | Record an error message with Exception information.. (Overrides DebugContext..::.Error(String, String, Exception).) |
Top
Remarks
A site running in Checked mode will raise any relevant errors with CommerceDebugException. Otherwise, the site uses the ASP.NET TraceContext.Warn to log any relevant error message. This error message will be prefixed with the string "Error: ".