UserPromptResult Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
UserPromptResult(UserPromptOption) |
Initialisiert eine neue Instanz der UserPromptResult-Klasse.
Legt IsUserDismissed auf |
UserPromptResult(UserPromptResult) | |
UserPromptResult(Boolean, UserPromptOption) |
Initialisiert eine neue Instanz der UserPromptResult-Klasse. |
UserPromptResult(UserPromptOption)
Initialisiert eine neue Instanz der UserPromptResult-Klasse.
Legt IsUserDismissed auf false
fest.
public UserPromptResult (Microsoft.VisualStudio.RpcContracts.Notifications.UserPromptOption selectedOption);
new Microsoft.VisualStudio.RpcContracts.Notifications.UserPromptResult : Microsoft.VisualStudio.RpcContracts.Notifications.UserPromptOption -> Microsoft.VisualStudio.RpcContracts.Notifications.UserPromptResult
Public Sub New (selectedOption As UserPromptOption)
Parameter
- selectedOption
- UserPromptOption
Die vom Benutzer ausgewählte Option.
Gilt für:
UserPromptResult(UserPromptResult)
protected UserPromptResult (Microsoft.VisualStudio.RpcContracts.Notifications.UserPromptResult original);
Protected Sub New (original As UserPromptResult)
Parameter
- original
- UserPromptResult
Gilt für:
UserPromptResult(Boolean, UserPromptOption)
Initialisiert eine neue Instanz der UserPromptResult-Klasse.
public UserPromptResult (bool isUserDismissed, Microsoft.VisualStudio.RpcContracts.Notifications.UserPromptOption selectedOption);
new Microsoft.VisualStudio.RpcContracts.Notifications.UserPromptResult : bool * Microsoft.VisualStudio.RpcContracts.Notifications.UserPromptOption -> Microsoft.VisualStudio.RpcContracts.Notifications.UserPromptResult
Public Sub New (isUserDismissed As Boolean, selectedOption As UserPromptOption)
Parameter
- isUserDismissed
- Boolean
Gibt an, ob der Benutzer die Eingabeaufforderung ohne Auswahl verworfen hat.
- selectedOption
- UserPromptOption
Die ausgewählte Option oder None.