By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,464 Members | 1,608 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,464 IT Pros & Developers. It's quick & easy.

How to define multiple flags in a config file?

P: n/a
I have trace configuration data in my config file and I want to specify
outoption flags like this:
<code>
traceOutputOptions="Callstack | DateTime" />

</code>

This throws an exception becuase it can't be parsed. I have never seen how
to combine flags in a config file. Is it possible?
Apr 5 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a

"sklett" <sk****@mddirect.com> wrote in message
news:O$**************@TK2MSFTNGP02.phx.gbl...
I have trace configuration data in my config file and I want to specify
outoption flags like this:
<code>
traceOutputOptions="Callstack | DateTime" />

</code>

This throws an exception becuase it can't be parsed. I have never seen
how to combine flags in a config file. Is it possible?


I haven't tried, but test it with a comma-delimited list instead (this is
how ToString method displays on a flag when you pass in the parameter to
display names on an flag enumeration).

HTH,
Mythran

Apr 5 '06 #2

P: n/a
Nice! :0)
That seems to have done it, thank you!

"Mythran" <ki********@hotmail.comREMOVETRAIL> wrote in message
news:uT**************@TK2MSFTNGP04.phx.gbl...

"sklett" <sk****@mddirect.com> wrote in message
news:O$**************@TK2MSFTNGP02.phx.gbl...
I have trace configuration data in my config file and I want to specify
outoption flags like this:
<code>
traceOutputOptions="Callstack | DateTime" />

</code>

This throws an exception becuase it can't be parsed. I have never seen
how to combine flags in a config file. Is it possible?


I haven't tried, but test it with a comma-delimited list instead (this is
how ToString method displays on a flag when you pass in the parameter to
display names on an flag enumeration).

HTH,
Mythran

Apr 5 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.