HaltCommandException Class
The exception thrown when the cmdlet or provider wants to terminate the running command without the error condition being considered an error.
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)
System.Management.Automation Namespace
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)
System.Object
System.Exception
System.SystemException
System.Management.Automation.HaltCommandException
System.Exception
System.SystemException
System.Management.Automation.HaltCommandException
Any public static (
Shared
in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Target Platforms
Windows Developer Preview, Windows Server Developer PreviewReference
HaltCommandException MembersSystem.Management.Automation Namespace
Other Resources
Windows PowerShell SDKSend comments about this topic to Microsoft.
