Version

AppointmentQueryResult Class

Syntax
Remarks

An implementation of the Infragistics.Scheduler.DataSource.ScheduleDataSource.GetAppointmentsInRange method may require asynchronous interaction with the underlying data store in order to execute the query.

In such cases, the GetAppointmentsInRange method returns synchronously, and marks the OperationResultBase.Status property for the result as 'Pending'. Upon return, the caller can then register as a listener of the OperationResultBase.Completed event, which occurs when the query has been fully executed.

A typical pattern for handling the result is to check the Status property, and if 'Pending' is returned, register as a listener of the Completed event, specifying a delegate to be called when the result completes. If 'Completed' is returned, as would be the case for a data source which executes the query synchronously, the caller can then directly call the Completed event handler, thus ensuring that the same action takes place regardless of whether the query is executed synchronously or asynchronously.

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also