DataSet supports the following trace switches:
Switch name | Description |
DataSet | Filters trace messages related to the DataSet. |
ServiceModel | Filters trace messages related to the Service Model (incl. proxy and storage services). |
ServicePortStub | Shows actions that were received on the server side. |
DataSetViewer | Filters trace messages related to the DataSet Viewer control. |
DataSetEditor | Filters trace messages related to the DataSet Editor add-in for Microsoft Excel. |
To set up a trace switch, use configuration lines such as the following:
<configuration>
<system.diagnostics>
<sharedListeners>
<add name="console" type="System.Diagnostics.ConsoleTraceListener"/>
</sharedListeners>
<trace autoflush="true" indentsize="4">
<listeners>
<add name="console" />
</listeners>
</trace>
<switches>
<remove name="DataSet"/>
<add name="DataSet" value="Verbose" />
</switches>
</system.diagnostics>
</configuration>