PowerSNMP for .NET
SyncRoot Property (ComponentBase)




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

6.1.1.2
PowerSNMP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic