|
PortController.NET
TraceOutput Property (Advanced)
Determines whether PortController emits trace information to the DefaultTraceListener.
Syntax
[Visual Basic]
object.TraceOutput [ = value ]
[C#]
object.TraceOutput [ = value ]
[C++]
object->TraceOutput [ = value ]
Parameters
object
An object expression that evaluates to a PortController object.
value
A boolean value indicating whether trace output is to be emitted.
Return Value
A boolean value indicating whether PortController is emitting trace output.
Default
False
Remarks
This property is intended to be used primarily as a debugging aid when working with
tech support. Enabling trace output may have a noticable effect on application performance.
Errors
None
Example
[Visual Basic]
'Set TraceOutput
myPortController.TraceOutput = True
'Get TraceOutput
Dim TraceOutput As Boolean
TraceOutput = myPortController.TraceOutput
[C#]
// Set TraceOutput
myPortController.TraceOutput = true;
// Get TraceOutput
Boolean TraceOutput = myPortController.TraceOutput;
[C++]
// Set TraceOutput
myPortController->TraceOutput = true;
// Get TraceOutput
Boolean TraceOutput = myPortController->TraceOutput;
|