The missing messages are in the queue. The MMC snap-in doesn't show all
the messages in the queue after the number of messages reaches a certain
point (and that point was about 1000 on Windows 2000, haven't tried it
on Windows XP). Because you are altering the priority of the messages
randomly,
Look at this:
I can“t find any docs about this exception.
Alois
->
An unhandled exception of type 'System.Threading.ThreadStateException'
occurred in mscorlib.dll
Additional information: Thread is not user-suspended; it can not be
resumed.
<-
The code is like this:
if (c.t.ThreadState ==
I am not sure if an exception will be thrown, but as far as the
documentation states if the earlier condition is not satisfied the
operation will be short-circuited. And the second parameters won't be
checked.
Hence MS best practice guidelines clear ask you to avoid such
situations.
Always if you
In my view I would recommend using a DataSet!! I agree that DataReader
is faster, but since you want to create an XML output, anyways you will
have to loop through the DataReader and construct a XML document.. its
similar to how a DataSet is constructed, so why not use a DataSet in the
first place
Here is my dilemma. I want to be able to create an XML document using the
SqlDataReader in place of a DataSet. I know you have to have the connection
open the whole time while reading through the reader. The DataSet uses a
reader to populate itself. I know the DataSet is much more expensive to use
Win XP, Pentium IV, C# SP1
I have the following console program which sends messages to a local
private queue:
class Class1
{
private static int m_nMsgLimit = 2000;
static void Main(string[] args)
{
// get/create the private queue
Is it possible to extend XSD generated classes with methods and properties?
I have a schema with around 200 complexTypes. I'd like to provide methods
for many of them. My first approach was use XSD.exe to generate classes
for the complexTypes (in the 'commonNamespace' namespace), to derive a ne
I really like the way C# handles boolean expressions like:
a && b
and
c || d.
If a is false, b is not evaluated, since the expression cannot be satisfied
anyway; if c is true, d is not evaluated.
But -- is this just a Microsoft-specific implementation of the && and ||
operators? Or do
Managed and Unmanaged Threading in Microsoft Windows
Note An operating-system ThreadId has no fixed relationship to a managed
thread, because an unmanaged host can control the relationship between
managed and unmanaged threads. Specifically, a sophisticated host can use
the fiber API to schedu
Hello,
I got it from the latest MSDN library CD. I imagine that behavior is in the
current spec, worded differently.
Regards,
Frank
- Original Message -
From: "Keith Hill" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 12, 2002 10:45 PM
Subject: Re: [ADVANCED-DOTNET] S
> This may be a bit off topic, but your statement aroused my interest:
>
> Under what circumstances, if any, does the CLR use fibres?
>
None that I'm aware of BUT it's likely that when SQL Server hosts the
CLR that it'll use fibres to implement CLR threads, rather than OS
threads. SQL Server alre
Can anyone tell me how to convert
ms-help://MS.MSDNQTR.2002APR.1033/dndotnet/html/dotnetperftips.htm
to http://?
Thanks
-Original Message-
From: Simon E.P. Wilson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 1:07 PM
To: [EMAIL PROTECTED]
Subject: Re: [ADVANCED-DOTNET] Data
12 matches
Mail list logo