SearchSuggestionsRequestDeferral SearchSuggestionsRequestDeferral SearchSuggestionsRequestDeferral SearchSuggestionsRequestDeferral SearchSuggestionsRequestDeferral 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
struct winrt::Windows::ApplicationModel::Search::SearchSuggestionsRequestDeferral
public sealed class SearchSuggestionsRequestDeferral
Public NotInheritable Class SearchSuggestionsRequestDeferral
// This class does not provide a public constructor.
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() Complete()

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