Transaction.SyncRoot property

Lync 2013

Object space used for synchronizing access to a group of objects related to a server or a UAC transaction.

Namespace:  Microsoft.Rtc.Sip
Assembly:  ServerAgent (in ServerAgent.dll)

public Object SyncRoot { get; }

Property value

Type: System.Object

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
// ...