Application.Lock()/UnLock() or lock(Application)
- From: nano2k <adrian.rotaru@xxxxxxxxxxx>
- Date: Mon, 23 Jul 2007 00:51:45 -0700
Hello
Is there a difference between:
1.
Application.Lock();
try {
//...code
}
finally {
Application.UnLock();
}
pattern and
2.
lock(Application) {
//...code
}
?
I read on MSDN (http://support.microsoft.com/default.aspx/kb/271787)
that there are some situations when the first pattern blocks the
service.
Thanks.
.
- Prev by Date: Re: webservice servicing multiple object instances.
- Next by Date: Re: Include Verbose Description?
- Previous by thread: webservice servicing multiple object instances.
- Next by thread: Problem retreiving data from Soap message
- Index(es):
Loading