N
nano2k
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.
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.