Share via


PromptException Constructors

Definition

Overloads

PromptException()

Initializes a new instance of the PromptException class.

PromptException(String)

Initializes a new instance of the PromptException class.

PromptException(String, Exception)

Initializes a new instance of the PromptException class.

PromptException()

Initializes a new instance of the PromptException class.

public PromptException ();
Public Sub New ()

Applies to

PromptException(String)

Initializes a new instance of the PromptException class.

public PromptException (string message);
new Microsoft.VisualStudio.Extensibility.Shell.PromptException : string -> Microsoft.VisualStudio.Extensibility.Shell.PromptException
Public Sub New (message As String)

Parameters

message
String

An error message.

Applies to

PromptException(String, Exception)

Initializes a new instance of the PromptException class.

public PromptException (string message, Exception innerException);
new Microsoft.VisualStudio.Extensibility.Shell.PromptException : string * Exception -> Microsoft.VisualStudio.Extensibility.Shell.PromptException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

An error message.

innerException
Exception

An inner exception that is the cause of the exception.

Applies to