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

Enum value incorrect in web reference

P: n/a
I have an enum defined in a web service project as follows:

Public Enum Status
Open = 0
Resolved = 1
Canceled = 3
End Enum

I use these values in a bitmask such that any value OR'd with 1 is not open.

When I create a web reference to the web service, the values are changed to
0, 1, and 2 respectively. How can I prevent this?

Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.