Share via


UserPromptResult Class

Definition

The result of a user prompt.

[System.Diagnostics.DebuggerDisplay("{GetDebuggerDisplay(),nq}")]
[System.Runtime.Serialization.DataContract]
public class UserPromptResult : IEquatable<Microsoft.VisualStudio.RpcContracts.Notifications.UserPromptResult>
[<System.Diagnostics.DebuggerDisplay("{GetDebuggerDisplay(),nq}")>]
[<System.Runtime.Serialization.DataContract>]
type UserPromptResult = class
    interface IEquatable<UserPromptResult>
Public Class UserPromptResult
Implements IEquatable(Of UserPromptResult)
Inheritance
UserPromptResult
Attributes
Implements

Constructors

UserPromptResult(Boolean, UserPromptOption)

Initializes a new instance of the UserPromptResult class.

UserPromptResult(UserPromptOption)

Initializes a new instance of the UserPromptResult class. Sets IsUserDismissed to false.

UserPromptResult(UserPromptResult)

Properties

EqualityContract
IsUserDismissed

Gets a value indicating whether the user dimissed the prompt without a selection.

SelectedOption

Gets the option selected by the user.

UserDismissed

Gets an instance representing the user dismissed the prompt without a selection.

Methods

<Clone>$()
Equals(Object)
Equals(UserPromptResult)
GetHashCode()
PrintMembers(StringBuilder)
ToString()

Operators

Equality(UserPromptResult, UserPromptResult)
Inequality(UserPromptResult, UserPromptResult)

Applies to