'Declaration Protected Overridable Sub RegisterDataBindings( _ ByVal context As DataContext _ )
protected virtual void RegisterDataBindings( DataContext context )
Exception | Description |
---|---|
DataProviderException | Thrown when the DataKeyMember on any registered ScheduleDataBinding has a blank or null (Nothing in Visual Basic .NET) setting. |
Inheritors may override this method to register their own ScheduleDataBinding instances, either in addition to, or as a replacement of, those added by the base class implementation. By default, the base class implementation adds one or both of AppointmentBinding and/or ResourceBinding depending on the context and needs of the operation specified.
After data bindings have been added for the current operation, a check is performed to ensure that none of them have empty or null DataKeyMember settings.
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