PromptingException PromptingException 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
type PromptingException = class
    inherit HostException
Public Class PromptingException
Inherits HostException
Inheritance

Constructors

PromptingException() PromptingException() PromptingException()

Initializes a new instance of the PromptingException class

PromptingException(SerializationInfo, StreamingContext) PromptingException(SerializationInfo, StreamingContext) PromptingException(SerializationInfo, StreamingContext)

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

PromptingException(String) PromptingException(String) PromptingException(String)

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

PromptingException(String, Exception) PromptingException(String, Exception) PromptingException(String, Exception)

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

PromptingException(String, Exception, String, ErrorCategory) PromptingException(String, Exception, String, ErrorCategory) 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.

Properties

ErrorRecord ErrorRecord ErrorRecord Inherited from RuntimeException
StackTrace StackTrace StackTrace Inherited from RuntimeException
WasThrownFromThrowStatement WasThrownFromThrowStatement WasThrownFromThrowStatement Inherited from RuntimeException

Methods

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) Inherited from RuntimeException

Applies to