HelpCategoryInvalidException Class

Definition

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

public ref class HelpCategoryInvalidException : ArgumentException, System::Management::Automation::IContainsErrorRecord
[System.Serializable]
public class HelpCategoryInvalidException : ArgumentException, System.Management.Automation.IContainsErrorRecord
public class HelpCategoryInvalidException : ArgumentException, System.Management.Automation.IContainsErrorRecord
[<System.Serializable>]
type HelpCategoryInvalidException = class
    inherit ArgumentException
    interface IContainsErrorRecord
type HelpCategoryInvalidException = class
    inherit ArgumentException
    interface IContainsErrorRecord
Public Class HelpCategoryInvalidException
Inherits ArgumentException
Implements 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)

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.

Applies to