HelpCategoryInvalidException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
HelpCategoryInvalidException() |
Initializes a new instance of the HelpCategoryInvalidException class. |
HelpCategoryInvalidException(String) |
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()
Initializes a new instance of the HelpCategoryInvalidException class.
public:
HelpCategoryInvalidException();
public:
HelpCategoryInvalidException();
HelpCategoryInvalidException();
public HelpCategoryInvalidException ();
Public Sub New ()
Applies to
HelpCategoryInvalidException(String)
Initializes a new instance of the HelpCategoryInvalidException class.
public:
HelpCategoryInvalidException(System::String ^ helpCategory);
public:
HelpCategoryInvalidException(Platform::String ^ helpCategory);
HelpCategoryInvalidException(std::wstring const & helpCategory);
public HelpCategoryInvalidException (string helpCategory);
new Microsoft.PowerShell.Commands.HelpCategoryInvalidException : string -> Microsoft.PowerShell.Commands.HelpCategoryInvalidException
Public Sub New (helpCategory As String)
Parameters
- helpCategory
- String
The name of help category that is invalid.
Applies to
HelpCategoryInvalidException(SerializationInfo, StreamingContext)
Caution
Legacy serialization support is deprecated since .NET 8
Initializes a new instance of the HelpCategoryInvalidException class.
protected:
HelpCategoryInvalidException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected HelpCategoryInvalidException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete("Legacy serialization support is deprecated since .NET 8", DiagnosticId="SYSLIB0051")]
protected HelpCategoryInvalidException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.PowerShell.Commands.HelpCategoryInvalidException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.PowerShell.Commands.HelpCategoryInvalidException
[<System.Obsolete("Legacy serialization support is deprecated since .NET 8", DiagnosticId="SYSLIB0051")>]
new Microsoft.PowerShell.Commands.HelpCategoryInvalidException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.PowerShell.Commands.HelpCategoryInvalidException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
Serialization information.
- context
- StreamingContext
Streaming context.
- Attributes
Applies to
HelpCategoryInvalidException(String, Exception)
Initializes a new instance of the HelpCategoryInvalidException class.
public:
HelpCategoryInvalidException(System::String ^ helpCategory, Exception ^ innerException);
public HelpCategoryInvalidException (string helpCategory, Exception innerException);
new Microsoft.PowerShell.Commands.HelpCategoryInvalidException : string * Exception -> Microsoft.PowerShell.Commands.HelpCategoryInvalidException
Public Sub New (helpCategory As String, innerException As Exception)
Parameters
- helpCategory
- String
The name of help category that is invalid.
- innerException
- Exception
The inner exception of this exception.