HelpCategoryInvalidException Class

Definition

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

public class HelpCategoryInvalidException : ArgumentException, System.Management.Automation.IContainsErrorRecord
Inheritance
HelpCategoryInvalidException
Implements

Constructors

HelpCategoryInvalidException()

Initializes a new instance of the HelpCategoryInvalidException class.

HelpCategoryInvalidException(String)

Initializes a new instance of the HelpCategoryInvalidException class.

HelpCategoryInvalidException(SerializationInfo, StreamingContext)

Initializes a new instance of the HelpCategoryInvalidException class.

HelpCategoryInvalidException(String, Exception)

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.