Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SearchPaneSuggestionsRequest.GetDeferral | getDeferral method

Retrieves an object that lets an app respond to a request for suggestions asynchronously.

Syntax


var searchPaneSuggestionsRequestDeferral = searchPaneSuggestionsRequest.getDeferral();

Parameters

This method has no parameters.

Return value

Type: SearchPaneSuggestionsRequestDeferral

An object that lets an app signal when it has fulfilled the request for search suggestions.

Remarks

Your app should respond asynchronously to a request for search suggestions if fulfilling the request will take a significant amount of time, such as fetching suggestions from a web service.

Use the searchPaneSuggestionsRequestDeferral.complete method to signal when your app has fulfilled the request.

Requirements (Windows 10 device family)

Device family

Desktop, introduced version 10.0.10240.0
Xbox, introduced version 10.0.10586.0

API contract

Windows.ApplicationModel.Search.SearchContract, introduced version 1.0

Namespace

Windows.ApplicationModel.Search
Windows::ApplicationModel::Search [C++]

Metadata

Windows.ApplicationModel.Search.SearchContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.ApplicationModel.Search
Windows::ApplicationModel::Search [C++]

Metadata

Windows.winmd

See also

Reference
SearchPane.SuggestionsRequested event
SearchPaneSuggestionsRequest class
SearchPaneSuggestionsRequestedEventArgs class
SearchPaneSuggestionsRequestDeferral class
SearchPaneSuggestionsRequestDeferral.Complete method

 

 

Show:
© 2016 Microsoft