OpenHome.Net.Device.DvProvider.PropertiesLock C# (CSharp) Method

PropertiesLock() public method

Lock the provider's properties, blocking publication of updates.
This is not necessary when updating a single property but is used by providers that have >1 properties whose values are related. Without locking, updates to some properties may be published, leaving related properties in their old (now incompatible) states. Every call to this must be followed by (exactly) one call to PropertiesUnlock().
public PropertiesLock ( ) : void
return void
        public void PropertiesLock()
        {
            DvProviderPropertiesLock(iHandle);
        }