PromptingException Class
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.
Defines the exception thrown when an error occurs from prompting for a command parameter.
public ref class PromptingException : System::Management::Automation::Host::HostException
[System.Serializable]
public class PromptingException : System.Management.Automation.Host.HostException
public class PromptingException : System.Management.Automation.Host.HostException
[<System.Serializable>]
type PromptingException = class
inherit HostException
type PromptingException = class
inherit HostException
Public Class PromptingException
Inherits HostException
- Inheritance
- Attributes
Constructors
PromptingException() |
Initializes a new instance of the PromptingException class. |
PromptingException(SerializationInfo, StreamingContext) |
Obsolete.
Initializes a new instance of the HostException class and defines the SerializationInfo and the StreamingContext. |
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. |
PromptingException(String, Exception) |
Initializes a new instance of the PromptingException class and defines the error message and inner exception. |
PromptingException(String) |
Initializes a new instance of the PromptingException class and defines the error message. |
Properties
ErrorRecord |
Additional information about the error. (Inherited from RuntimeException) |
WasThrownFromThrowStatement | (Inherited from RuntimeException) |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
Serializer for ISerializable (Inherited from RuntimeException) |