Share via


PromptOptionsWithCancel<TResult> Constructors

Definition

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

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".

Applies to