Click or drag to resize

BasicNoUIObjTrace Method

Sets the tracing categories.

Namespace: WinWrap.Basic.Server
Assembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntax
public void Trace(
	TraceConstants categories
)

Parameters

categories  TraceConstants
Trace these kinds of activities.

Implements

IBasicNoUITrace(TraceConstants)
Remarks
Whenever a WinWrap Basic method, property or event is called or WinWrap Basic code is executed the DebugTrace event is fired. Use this method to help debug the interaction between your application and WinWrap Basic. It may be a good idea to give your user the option of tracing to a file. That will enable you to get useful information when things go wrong.
Example
Turn on tracing, do something and then turn off tracing:
basicIdeCtl1.Trace(TraceConstants.All); // turn on all tracing
' do something
basicIdeCtl1.Trace(TraceConstants.None); // turn off all tracing
See Also