PromptOptionsWithCancel<TResult> 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
PromptOptionsWithCancel<TResult>(PromptOptionsWithCancel<TResult>) | |
PromptOptionsWithCancel<TResult>(PromptOptions<TResult>, TResult) |
Initializes a new instance of the PromptOptionsWithCancel<TResult> class. |
PromptOptionsWithCancel<TResult>(PromptOptionsWithCancel<TResult>)
protected PromptOptionsWithCancel (Microsoft.VisualStudio.Extensibility.Shell.Prompt.PromptOptionsWithCancel<TResult> original);
Protected Sub New (original As PromptOptionsWithCancel(Of TResult))
Parameters
- original
- PromptOptionsWithCancel<TResult>
Applies to
PromptOptionsWithCancel<TResult>(PromptOptions<TResult>, TResult)
Initializes a new instance of the PromptOptionsWithCancel<TResult> class.
public PromptOptionsWithCancel (Microsoft.VisualStudio.Extensibility.Shell.PromptOptions<TResult> original, TResult cancelReturns);
new Microsoft.VisualStudio.Extensibility.Shell.Prompt.PromptOptionsWithCancel<'Result (requires 'Result : struct)> : Microsoft.VisualStudio.Extensibility.Shell.PromptOptions<'Result (requires 'Result : struct)> * 'Result -> Microsoft.VisualStudio.Extensibility.Shell.Prompt.PromptOptionsWithCancel<'Result (requires 'Result : struct)>
Public Sub New (original As PromptOptions(Of TResult), cancelReturns As TResult)
Parameters
- original
- PromptOptions<TResult>
The original options.
- cancelReturns
- TResult
The result value to return when the user selects "Cancel".