Programmatically enable tracing?
Posted
by fretje
on Stack Overflow
See other posts from Stack Overflow
or by fretje
Published on 2010-06-09T10:04:17Z
Indexed on
2010/06/09
10:42 UTC
Read the original article
Hit count: 383
Is there a way to programmatically enable diagnostic tracing for a WSE web service client?
This is how it should be configured using an app.config file:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="microsoft.web.services3" type="Microsoft.Web.Services3.Configuration.WebServicesConfiguration, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</configSections>
<microsoft.web.services3>
<diagnostics>
<trace enabled="true" input="InputTrace.webinfo" output="OutputTrace.webinfo" />
</diagnostics>
</microsoft.web.services3>
</configuration>
I would like to do this from code. Is this possible?
© Stack Overflow or respective owner