UserPromptResult 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
UserPromptResult(UserPromptOption) |
初始化 UserPromptResult 類別的新執行個體。
將 IsUserDismissed 設定為 |
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。