HelpCategoryInvalidException Class

Definition

The exception that is thrown when there is no help category matching a specific input string.

C++
public ref class HelpCategoryInvalidException : ArgumentException, System::Management::Automation::IContainsErrorRecord
Inheritance
HelpCategoryInvalidException
Attributes
Implements

Constructors

HelpCategoryInvalidException()

Initializes a new instance of the HelpCategoryInvalidException class.

HelpCategoryInvalidException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of the HelpCategoryInvalidException class.

HelpCategoryInvalidException(String, Exception)

Initializes a new instance of the HelpCategoryInvalidException class.

HelpCategoryInvalidException(String)

Initializes a new instance of the HelpCategoryInvalidException class.

Properties

ErrorRecord

Gets ErrorRecord embedded in this exception.

HelpCategory

Gets name of the help category that is invalid.

Message

Gets exception message for this exception.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize the HelpCategoryInvalidException object.

Applies to

Producto Versiones
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0