PromptingException Class

Definition

Defines the exception thrown when an error occurs from prompting for a command parameter.

public class PromptingException : System.Management.Automation.Host.HostException
Inheritance

Inherited Members

System.Management.Automation.RuntimeException

Constructors

PromptingException()

Initializes a new instance of the PromptingException class

PromptingException(String)

Initializes a new instance of the PromptingException class and defines the error message

PromptingException(SerializationInfo, StreamingContext)

Initializes a new instance of the HostException class and defines the SerializationInfo and the StreamingContext.

PromptingException(String, Exception)

Initializes a new instance of the PromptingException class and defines the error message and inner exception.

PromptingException(String, Exception, String, ErrorCategory)

Initializes a new instance of the PromptingException class and defines the error message, inner exception, the error ID, and the error category.