HelpCategoryInvalidException Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

The exception thrown by the Get-Help cmdlet when a Help category that is not valid is specified by the Category parameter. This class is included in this SDK for completeness only. The members of this class cannot be used directly, nor should this class be used to derive other classes.

Namespace:   Microsoft.PowerShell.Commands
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

System.Object
  System.Exception
    System.SystemException
      System.ArgumentException
        Microsoft.PowerShell.Commands.HelpCategoryInvalidException

[SerializableAttribute]
public class HelpCategoryInvalidException : ArgumentException, 
	IContainsErrorRecord

NameDescription
System_CAPS_pubmethodHelpCategoryInvalidException()

Creates a new HelpCategoryInvalidException object that is empty.

System_CAPS_protmethodHelpCategoryInvalidException(SerializationInfo, StreamingContext)

Creates a new HelpCategoryInvalidException object that contains information read from the provided serialization information.

System_CAPS_pubmethodHelpCategoryInvalidException(String)

Creates a new HelpCategoryInvalidException object that contains the Help category that is not valid.

System_CAPS_pubmethodHelpCategoryInvalidException(String, Exception)

Creates a new HelpCategoryInvalidException object that contains the Help category that is not valid and the inner exception that caused this exception to be thrown.

NameDescription
System_CAPS_pubpropertyData

(Inherited from Exception.)

System_CAPS_pubpropertyErrorRecord

Gets the error record that describes the error that occurred.

System_CAPS_pubpropertyHelpCategory

Gets the Help category that is not valid.

System_CAPS_pubpropertyHelpLink

(Inherited from Exception.)

System_CAPS_pubpropertyHResult

(Inherited from Exception.)

System_CAPS_pubpropertyInnerException

(Inherited from Exception.)

System_CAPS_pubpropertyMessage

Gets the exception message that describes the error condition.(Overrides ArgumentException.Message.)

System_CAPS_pubpropertyParamName

(Inherited from ArgumentException.)

System_CAPS_pubpropertySource

(Inherited from Exception.)

System_CAPS_pubpropertyStackTrace

(Inherited from Exception.)

System_CAPS_pubpropertyTargetSite

(Inherited from Exception.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo, StreamingContext)

Provides serialization functionality for the ISerializable interface.(Overrides ArgumentException.GetObjectData(SerializationInfo, StreamingContext).)

System_CAPS_pubmethodGetType()

(Inherited from Exception.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Exception.)

NameDescription
System_CAPS_proteventSerializeObjectState

(Inherited from Exception.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: