Trace Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Record an informational trace message.
Namespace: Microsoft.CommerceServer.Runtime.Diagnostics
Assembly: Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)
Syntax
'Declaration
Public Overrides Sub Trace ( _
category As String, _
debugText As String _
)
'Usage
Dim instance As WebDebugContext
Dim category As String
Dim debugText As String
instance.Trace(category, debugText)
public override void Trace(
string category,
string debugText
)
public:
virtual void Trace(
String^ category,
String^ debugText
) override
public override function Trace(
category : String,
debugText : String
)
Parameters
- category
Type: System..::.String
The category the trace message belongs to.
- debugText
Type: System..::.String
Remarks
Use this method to record an informational trace 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.