PC Review


Reply
Thread Tools Rate Thread

Bug Log for Microsoft // Missing Enum Value in Framework

 
 
sloan
Guest
Posts: n/a
 
      18th Sep 2006

Is there an official "bug report" location, to report a DotNet framework
bug?

I don't like to throw out the "bug in the framework" thing very often, but I
think I've done the homework on this one.



...

I've found an enum value that doesn't exist:


public enum MessageQueueErrorCode


It doesn't contain a value for
-1073741536



The condition where this would happen is ....

// register a handler ... OnPeekCompleted

_queue.BeginPeek();

private void OnPeekCompleted(object sender, PeekCompletedEventArgs e)

{

_queue.EndPeek(e.AsyncResult);

}



If the queue is empty when this code starts, it throws a

MessageQueueException exception.

with

MessageQueueErrorCode = to that number above.



I used this code to loop over the enum



foreach (string s in Enum.GetNames(typeof(MessageQueueErrorCode)))

{

string name = s;

MessageQueueErrorCode t = (MessageQueueErrorCode)
Enum.Parse(typeof(MessageQueueErrorCode),s);

int val = (int) t;


if (val==-1073741536)

{

string didIFindIt = "bingo";

}

}



and its not there.





If you google search it:

http://www.google.com/search?hl=en&l...de&btnG=Search



You find lots of people mentioning it.

However, I haven't seen any

"Ahh, its a missing enum value"



And here is another "hint" that it is missing:



http://www.koders.com/csharp/fidE632...DD76C847F.aspx








 
Reply With Quote
 
 
 
 
Mattias Sjögren
Guest
Posts: n/a
 
      18th Sep 2006
>Is there an official "bug report" location, to report a DotNet framework
>bug?


http://connect.microsoft.com/VisualStudio/feedback/


Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
 
Reply With Quote
 
sloan
Guest
Posts: n/a
 
      19th Sep 2006
Thanks.



"Mattias Sjögren" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> >Is there an official "bug report" location, to report a DotNet framework
> >bug?

>
> http://connect.microsoft.com/VisualStudio/feedback/
>
>
> Mattias
>
> --
> Mattias Sjögren [C# MVP] mattias @ mvps.org
> http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
> Please reply only to the newsgroup.



 
Reply With Quote
 
sloan
Guest
Posts: n/a
 
      19th Sep 2006

See
https://connect.microsoft.com/Visual...dbackID=206533

"Mattias Sjögren" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> >Is there an official "bug report" location, to report a DotNet framework
> >bug?

>
> http://connect.microsoft.com/VisualStudio/feedback/
>
>
> Mattias
>
> --
> Mattias Sjögren [C# MVP] mattias @ mvps.org
> http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
> Please reply only to the newsgroup.



 
Reply With Quote
 
Carl Daniel [VC++ MVP]
Guest
Posts: n/a
 
      20th Sep 2006
"sloan" <(E-Mail Removed)> wrote in message
news:eZ8yEX$(E-Mail Removed)...
>
> See
> https://connect.microsoft.com/Visual...dbackID=206533


FYI:

Error code -1073741536 is 0xC0000120 in hex - that's STATUS_CANCELLED
(message text "The I/O request was cancelled"). From the MSMQ
documentation, that error should not be returned, so I'm suspicious that the
real problem in this case is not that the enum is missing a value, but that
an inappropriate error code is being returned by .NET.

-cd




 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft .NET Framework 3.5 Service Pack 1 and .NET Framework 3.5 Family Update for .NET versions 2.0 through 3.5 (KB951847) x86 Dr. Indera Windows XP General 14 5th Jul 2010 07:15 AM
entity framework does not support byte, enum Ryan Liu Microsoft C# .NET 0 3rd Apr 2009 11:44 AM
Entity Framework - mapping Enum type to column H5N1 Microsoft ADO .NET 1 25th Aug 2008 01:54 PM
Finding/Listing usb/bluetooth/... serial-ports with System.Management.dll[reposted from microsoft.public.dotnet.framework.sdk, microsoft.public.dotnet.framework.wmi] Helge Jensen Microsoft Dot NET 0 2nd Jul 2005 07:34 AM
Finding/Listing usb/bluetooth/... serial-ports with System.Management.dll[reposted from microsoft.public.dotnet.framework.sdk, microsoft.public.dotnet.framework.wmi] Helge Jensen Microsoft C# .NET 0 2nd Jul 2005 07:34 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:10 AM.