TraceMode Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets a value that indicates whether tracing of Content Item scoring should be enabled.
Namespace: Microsoft.CommerceServer.Runtime.Targeting
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Property TraceMode As Boolean
'Usage
Dim instance As ContentSelector
Dim value As Boolean
value = instance.TraceMode
instance.TraceMode = value
public bool TraceMode { get; set; }
public:
property bool TraceMode {
bool get ();
void set (bool value);
}
public function get TraceMode () : boolean
public function set TraceMode (value : boolean)
Property Value
Type: System..::.Boolean
true to indicate that tracing should be enabled; otherwise, false. Default is false.
Remarks
Stores a value that indicates whether tracing of Content Item scoring should be enabled. When tracing is enabled, the TraceMessages for the content items will be available in the TraceMessages collection after the GetContent call is completed.
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.