IListDataSource.invalidateAll method

Applies to Windows and Windows Phone

Indicates that all previous data obtained from the IListDataAdapter is invalid and should be refreshed.

Syntax


iListDataSource.invalidateAll().done( /* Your success and error handlers */ );

Parameters

This method has no parameters.

Return value

Type: Promise

A Promise that completes when the data has been completely refreshed and all notifications have been sent.

Remarks

This method makes the IListDataSource re-request its cached items from the IListDataAdapter and generate change notifications for any data that changed.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

See also

IListDataSource

 

 

Show:
© 2014 Microsoft