Transaction.SyncRoot property
| Microsoft Office Live Communications Server 2005 with SP1 |
Transaction.SyncRoot
The SyncRoot property contains an object used for synchronizing access to a group of objects related to a server or client transaction.
[C#]
public Object SyncRoot {get;}
[Visual Basic .NET] Public ReadOnly Property SyncRoot As Object
Remarks
To synchronize access to a transaction, obtain this property and pass it to lock().
Example Code
lock (myServerTransaction.SyncRoot) {
// ...
// Perform thread operation on transaction here
// ...
}
Requirements
Redistributable: Requires Microsoft Office Live Communications Server 2005 with SP1.
Namespace: Microsoft.Rtc.Sip
Assembly: ServerAgent (in ServerAgent.dll)
See Also
| What did you think of this topic? |
| © 2008 Microsoft Corporation. All rights reserved. |