Warn Method (String, String)
Records a warning message.
Namespace: Microsoft.CommerceServer.Runtime.Diagnostics
Assembly: Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)
Syntax
'Declaration
Public MustOverride Sub Warn ( _
category As String, _
debugText As String _
)
'Usage
Dim instance As DebugContext
Dim category As String
Dim debugText As String
instance.Warn(category, debugText)
public abstract void Warn(
string category,
string debugText
)
public:
virtual void Warn(
String^ category,
String^ debugText
) abstract
public abstract function Warn(
category : String,
debugText : String
)
Parameters
- category
Type: System..::.String
The category the warning belongs to.
- debugText
Type: System..::.String
The message the warning contains.
Remarks
Use this method to record a warning message.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.