471,321 Members | 1,784 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,321 software developers and data experts.

Windows Service in Web Garden

RK
Here I am using Windows service as failover for the regular C# web
application which will read failed uploads( to database from the
MessageQueue) and re-uploads to the database. I am using
MessageQueue.GetMessageEnumerator method in PeekCompleted Event. Is
this thread safe?? Any suggestions??

thanks in advance.
--RK

Dec 13 '05 #1
1 1167
It's in the docs:
Any public static (Shared in Visual Basic) members of this type are thread
safe. Any instance members are not guaranteed to be thread safe.

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------

"RK" <r_***********@yahoo.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
Here I am using Windows service as failover for the regular C# web
application which will read failed uploads( to database from the
MessageQueue) and re-uploads to the database. I am using
MessageQueue.GetMessageEnumerator method in PeekCompleted Event. Is
this thread safe?? Any suggestions??

thanks in advance.
--RK

Dec 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Steve | last post: by
1 post views Thread by Danny Ni | last post: by
8 posts views Thread by techie | last post: by
2 posts views Thread by =?Utf-8?B?QXNhZg==?= | last post: by
5 posts views Thread by Cramer | last post: by
12 posts views Thread by =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.