PowerTCP Emulation for .NET
SyncRoot Property




Gets an object that is used to synchronize access to the upper layer protocol in use.
Syntax
Public ReadOnly Property SyncRoot As Object
Dim instance As ComponentBase
Dim value As Object
 
value = instance.SyncRoot
public object SyncRoot {get;}
public: __property Object* get_SyncRoot();
public:
property Object^ SyncRoot {
   Object^ get();
}
Remarks
Upper layer protocols typically send a command and wait for it to complete. Use of this object in a C# "lock" statement can allow your code to wait until any ongoing command has completed.
See Also

Reference

ComponentBase Class
ComponentBase Members


PowerTCP Emulation for .NET Documentation Version 4.7
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic