Version

RegisterDataBindings Method

Called before processing an operation to register any outstanding ScheduleDataBinding objects required.
Syntax
'Declaration
 
Protected Overridable Sub RegisterDataBindings( _
   ByVal context As DataContext _
) 
protected virtual void RegisterDataBindings( 
   DataContext context
)

Parameters

context
A DataContext describing the operation being performed. It is the determining factor in the ScheduleDataBinding instances that need to be registered to successfully complete the operation.
Exceptions
ExceptionDescription
DataProviderExceptionThrown when the DataKeyMember on any registered ScheduleDataBinding has a blank or null (Nothing in Visual Basic .NET) setting.
Remarks

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.

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