Поделиться через


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

See Also

Reference

ContentSelector Class

ContentSelector Members

Microsoft.CommerceServer.Runtime.Targeting Namespace