SuggestionPackage Constructors 
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.
Overloads
| 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. | 
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.
public SuggestionPackage(System.Collections.Generic.List<System.Management.Automation.Subsystem.Prediction.PredictiveSuggestion> suggestionEntries);new System.Management.Automation.Subsystem.Prediction.SuggestionPackage : System.Collections.Generic.List<System.Management.Automation.Subsystem.Prediction.PredictiveSuggestion> -> System.Management.Automation.Subsystem.Prediction.SuggestionPackagePublic Sub New (suggestionEntries As List(Of PredictiveSuggestion))Parameters
- suggestionEntries
- List<PredictiveSuggestion>
The suggestions to return.
Applies to
SuggestionPackage(UInt32, List<PredictiveSuggestion>)
Initializes a new instance of the SuggestionPackage struct with the mini-session id and the suggestions.
public SuggestionPackage(uint session, System.Collections.Generic.List<System.Management.Automation.Subsystem.Prediction.PredictiveSuggestion> suggestionEntries);new System.Management.Automation.Subsystem.Prediction.SuggestionPackage : uint32 * System.Collections.Generic.List<System.Management.Automation.Subsystem.Prediction.PredictiveSuggestion> -> System.Management.Automation.Subsystem.Prediction.SuggestionPackagePublic Sub New (session As UInteger, suggestionEntries As List(Of PredictiveSuggestion))Parameters
- session
- UInt32
The mini-session where suggestions came from.
- suggestionEntries
- List<PredictiveSuggestion>
The suggestions to return.