ShowCommandCommand.ErrorPopup Property
Gets or sets a value that indicates whether to display an error in a message window.
Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Utility (in Microsoft.PowerShell.Commands.Utility.dll)
Usage
'Usage
Dim instance As ShowCommandCommand
Dim value As SwitchParameter
value = instance.ErrorPopup
instance.ErrorPopup = value
Syntax
'Declaration
<ParameterAttribute> _
Public Property ErrorPopup As SwitchParameter
[ParameterAttribute]
public SwitchParameter ErrorPopup { get; set; }
[ParameterAttribute]
public:
property SwitchParameter ErrorPopup {
SwitchParameter get ();
void set (SwitchParameter value);
}
/** @property */
public SwitchParameter get_ErrorPopup ()
/** @property */
public void set_ErrorPopup (SwitchParameter value)
public function get ErrorPopup () : SwitchParameter
public function set ErrorPopup (value : SwitchParameter)
Property Value
A SwitchParameter: true if an error causes a message window to be displayed in addition to displaying the error on the command line; false if an error is shown only on the command line.
Remarks
This property represents the –ErrorPopup
parameter in the Show-Command cmdlet.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Target Platforms
See Also
Reference
ShowCommandCommand Class
ShowCommandCommand Members
Microsoft.PowerShell.Commands Namespace