SuggestionPackage Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A package returned from GetSuggestion(PredictionClient, PredictionContext, CancellationToken).
public struct SuggestionPackage
[System.Runtime.CompilerServices.Nullable(0)]
[System.Runtime.CompilerServices.NullableContext(1)]
public struct SuggestionPackage
type SuggestionPackage = struct
[<System.Runtime.CompilerServices.Nullable(0)>]
[<System.Runtime.CompilerServices.NullableContext(1)>]
type SuggestionPackage = struct
Public Structure SuggestionPackage
- Inheritance
-
SuggestionPackage
- Attributes
Constructors
SuggestionPackage(List<PredictiveSuggestion>) |
Initializes a new instance of the SuggestionPackage struct without providing a session id. Note that, when a session id is not specified, it's considered by a client that the predictor doesn't expect feedback. |
SuggestionPackage(UInt32, List<PredictiveSuggestion>) |
Initializes a new instance of the SuggestionPackage struct with the mini-session id and the suggestions. |
Properties
Session |
Gets the mini-session that represents a specific invocation to GetSuggestion(PredictionClient, PredictionContext, CancellationToken). When it's not specified, it's considered by a client that the predictor doesn't expect feedback. |
SuggestionEntries |
Gets the suggestion entries returned from that mini-session. |