Jaa


Warn Method (String, String, Exception)

Record a warning message along with an exception.

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

Syntax

'Declaration
Public Overrides Sub Warn ( _
    category As String, _
    debugText As String, _
    ex As Exception _
)
'Usage
Dim instance As ConsoleDebugContext
Dim category As String
Dim debugText As String
Dim ex As Exception

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

Parameters

Remarks

Records a warning message. A site logs relevant warning messages with the string "Warning:" prefix.

Permissions

See Also

Reference

ConsoleDebugContext Class

ConsoleDebugContext Members

Warn Overload

Microsoft.CommerceServer.Runtime.Diagnostics Namespace