Error Method (String, String, Exception)

Record an error along with Exception information.

Namespace:  Microsoft.CommerceServer.Runtime.Diagnostics
Assembly:  Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)

Syntax

'Declaration
Public MustOverride Sub Error ( _
    category As String, _
    debugText As String, _
    ex As Exception _
)
'Usage
Dim instance As DebugContext
Dim category As String
Dim debugText As String
Dim ex As Exception

instance.Error(category, debugText, ex)
public abstract void Error(
    string category,
    string debugText,
    Exception ex
)
public:
virtual void Error(
    String^ category, 
    String^ debugText, 
    Exception^ ex
) abstract
public abstract function Error(
    category : String, 
    debugText : String, 
    ex : Exception
)

Parameters

Remarks

Use this method to record an error with an exception.

Permissions

See Also

Reference

DebugContext Class

DebugContext Members

Error Overload

Microsoft.CommerceServer.Runtime.Diagnostics Namespace