Partilhar via


Error Method (String, String)

Records an error message.

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 _
)
'Usage
Dim instance As DebugContext
Dim category As String
Dim debugText As String

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

Parameters

Remarks

Use this method to record an error.

Permissions

See Also

Reference

DebugContext Class

DebugContext Members

Error Overload

Microsoft.CommerceServer.Runtime.Diagnostics Namespace