Search​Suggestions​Request​Deferral Search​Suggestions​Request​Deferral Search​Suggestions​Request​Deferral Search​Suggestions​Request​Deferral Class

Definition

Enables the app to signal when it has finished populating a SearchSuggestionCollection object while handling the SuggestionsRequested event. Use a deferral if and only if your app needs to respond to a request for suggestions asynchronously.

public : sealed class SearchSuggestionsRequestDeferral : ISearchSuggestionsRequestDeferralpublic sealed class SearchSuggestionsRequestDeferral : ISearchSuggestionsRequestDeferralPublic NotInheritable Class SearchSuggestionsRequestDeferral Implements ISearchSuggestionsRequestDeferral// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

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

Use the Complete method to signal when your app has fulfilled the request. Retrieve this object by calling the GetDeferral method while handling the SuggestionsRequested event.

Methods

Complete() Complete() Complete() Complete()

Signals that the app has finished populating a SearchSuggestionCollection object while handling the SuggestionsRequested event.

public : void Complete()public void Complete()Public Function Complete() As void// You can use this method in JavaScript.