CommandInvocationIntrinsics.CommandNotFoundAction Property
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.
This event handler is called when a command is not found. If should have a single string parameter that is the name of the command and should return a CommandInfo object or null. By default it will search the module path looking for a module that exports the desired command.
public:
property EventHandler<System::Management::Automation::CommandLookupEventArgs ^> ^ CommandNotFoundAction { EventHandler<System::Management::Automation::CommandLookupEventArgs ^> ^ get(); void set(EventHandler<System::Management::Automation::CommandLookupEventArgs ^> ^ value); };
public EventHandler<System.Management.Automation.CommandLookupEventArgs> CommandNotFoundAction { get; set; }
member this.CommandNotFoundAction : EventHandler<System.Management.Automation.CommandLookupEventArgs> with get, set
Public Property CommandNotFoundAction As EventHandler(Of CommandLookupEventArgs)