see the code example
Code:
try
{
semCollectionLock.WaitOne();
bDidLock = true;
string sKey;
stSoapObject = scSystemObject.GetObject()
// unlock collection
semCollectionLock.Release();
Leave a comment: