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