Version

OnPropertyChange Method (ScheduleDataBinding)

Called by the WebObjectBase infrastructure when a property value changes through the use of SetValue.
Syntax
'Declaration
 
Protected Overrides Sub OnPropertyChange( _
   ByVal propertyID As String, _
   ByVal propertyValue As Object _
) 
protected override void OnPropertyChange( 
   string propertyID,
   object propertyValue
)

Parameters

propertyID
The identifier string associated with a property whose persistence and notifications are managed by the base class.
propertyValue
The new value associated with the property.
Remarks

The ScheduleDataBinding class uses this method to receive notifications when it's BindingMember properties change so it can notify the WebScheduleDataProviderBase containing it. This becomes necessary under certain data provider error handling scenarios in which the error handler modifies the ScheduleDataBinding. The WebScheduleDataProviderBase caches it's data binding descriptions in a collection that needs to be refreshed before the error handler can resume an interrupted data binding operation.

Inheritors will not normally need to call this method directly, as the WebObjectBase class infrastructure calls it automatically. However, inheritors must ensure that any properties they add to ScheduleDataBinding extensions use the SetValue base class method to manage binding member settings to take advantage of this notification. Otherwise their extended binding members may fail to recover as expected under the specific error handling dscribed in the preceding paragraph. Additionally, inheritors who override this method for any reason must ensure the base class implementation of this method gets called first by their override.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also