CommandNotFoundException
Class
Definition
This exception is thrown when a command cannot be found.
public class CommandNotFoundException : System.Management.Automation.RuntimeException
- Inheritance
Inherited Members
System.Management.Automation.RuntimeException
Constructors
| CommandNotFoundException() |
Constructs a CommandNotFoundException. |
| CommandNotFoundException(String) |
Constructs a CommandNotFoundException |
| CommandNotFoundException(SerializationInfo, StreamingContext) |
Serialization constructor for class CommandNotFoundException |
| CommandNotFoundException(String, Exception) |
Constructs a CommandNotFoundException |
Properties
| CommandName |
Gets the name of the command that could not be found. |
| ErrorRecord |
Gets the ErrorRecord information for this exception. |
Methods
| GetObjectData(SerializationInfo, StreamingContext) |
Serializes the CommandNotFoundException. |