Warn Method (String, String)

Record a warning message.

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

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

Parameters

Remarks

This uses the Warn method of the ASP.Net TraceContext to log the relevant messages. These messages will be prefixed with the string "Warning: "

Permissions

See Also

Reference

WebDebugContext Class

WebDebugContext Members

Warn Overload

Microsoft.CommerceServer.Runtime.Diagnostics Namespace