HelpCategoryInvalidException Constructors

Definition

Overloads

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.

HelpCategoryInvalidException()

Initializes a new instance of the HelpCategoryInvalidException class.

public:
 HelpCategoryInvalidException();
public:
 HelpCategoryInvalidException();
 HelpCategoryInvalidException();
public HelpCategoryInvalidException ();
Public Sub New ()

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.

HelpCategoryInvalidException(SerializationInfo, StreamingContext)

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);
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.

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

Applies to