dotnet Messaging timeout.

dotnet Messaging timeout.

Post by David Chi » Thu, 01 Jan 2004 10:04:58


I don't know if this is the right place for my question,
its about .NET Messaging.

I'm trying to retrieve messages asynchronously; I made a
call to BeginReceive( ) with a timeout. According to the
documentations, my ReceiveCompleted() event handler should
get called when the timeout occurred with the IsCompleted
property on the IAsyncResult set to false. Unfortunately,
I do not see that, IsCompleted is set to true in my case,
but when I try to call EndReceive() next, I get a
MessageQueueException with a message saying "Timeout for
the requested operation has expired". Has anyone come
across this problem before? Is this a bug in .NET
Messaging? Does anyone know of a way round it?

I'll be very thankful for your help.

David.
 
 
 

1. dotnet Messaging timeout.

2. microsoft.public.dotnet.faqs,microsoft.public.dotnet.framework,microsoft.public.dotnet.framework.windowsforms,microsoft.public.dotnet.general,microsoft.public.dotnet.languages.vb

Hello,

I have created an application that searches to see if a process is running
and if it is it maximizes it's window.

i.e.

For Each AProcess In AProcesses
If AProcess.StartInfo.WindowStyle <> ProcessWindowStyle.Maximized Then
AProcess.StartInfo.WindowStyle = ProcessWindowStyle.Maximized
ShowWindow(AProcess.MainWindowHandle, 3)
End If
Next

Is there also a way to make the window "BRING TO FRONT" also?

Thanks,

Chuck

3. IIS Timeout , Web Config Timeout, Page Timeout.

4. microsoft.public.dotnet.languages.vb.data,microsoft.public.dotnet.languages.vb.controls,microsoft.public .dotnet.languages.vb,microsoft.public.dotnet.languages.vb.upgrade

5. Difference between 'Read timeout' & 'Response timeout' & 'Connect timeout'

6. Timeout::timeout and Socket timeout

7. Message: timeout waiting for input from <external mail server> during message collect

8. microsoft.public.dotnet.languages.vb,microsoft.public.windowsxp.print_fax,microsoft.public.dotnet.framework.aspnet

9. Was security hole in dotnet 1.1 fixed in dotnet 2.0

10. Naming standards/ conventions used in VS dotNet and VB dotNet

11. microsoft.public.dotnet.framework.aspnet.webcontrols ,microsoft.public.dotnet.framework.aspnet

12. Mixing dotnet 2.0 and dotnet 1.1 assemblies..

13. microsoft.public.dotnet.framework.windowsforms.controls ,microsoft.public.dotnet.languages.csharp

14. Call DotNet Application From Access - Cannot Release Dotnet Application

15. Beginner - which is best dotnet.VB or dotnet.VC?