Trace Method
Records an informational trace message.
Namespace: Microsoft.CommerceServer.Runtime.Diagnostics
Assembly: Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)
Syntax
'Declaration
Public MustOverride Sub Trace ( _
category As String, _
debugText As String _
)
'Usage
Dim instance As DebugContext
Dim category As String
Dim debugText As String
instance.Trace(category, debugText)
public abstract void Trace(
string category,
string debugText
)
public:
virtual void Trace(
String^ category,
String^ debugText
) abstract
public abstract function Trace(
category : String,
debugText : String
)
Parameters
- category
Type: System..::.String
The category the trace message belongs to.
- debugText
Type: System..::.String
The message contained in the trace message.
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.