共用方式為


UserPromptResult 建構函式

定義

多載

UserPromptResult(UserPromptOption)

初始化 UserPromptResult 類別的新執行個體。 將 IsUserDismissed 設定為 false

UserPromptResult(UserPromptResult)
UserPromptResult(Boolean, UserPromptOption)

初始化 UserPromptResult 類別的新執行個體。

UserPromptResult(UserPromptOption)

初始化 UserPromptResult 類別的新執行個體。 將 IsUserDismissed 設定為 false

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)

參數

selectedOption
UserPromptOption

用戶選取的選項。

適用於

UserPromptResult(UserPromptResult)

protected UserPromptResult (Microsoft.VisualStudio.RpcContracts.Notifications.UserPromptResult original);
Protected Sub New (original As UserPromptResult)

參數

original
UserPromptResult

適用於

UserPromptResult(Boolean, UserPromptOption)

初始化 UserPromptResult 類別的新執行個體。

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)

參數

isUserDismissed
Boolean

使用者是否關閉提示而不選取專案。

selectedOption
UserPromptOption

選取的選項或 None

適用於