Freigeben über


HelpNotFoundException Constructors

Definition

Overloads

HelpNotFoundException()

Initializes a new instance of the HelpNotFoundException class.

HelpNotFoundException(String)

Initializes a new instance of the HelpNotFoundException class with the give help topic.

HelpNotFoundException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of the HelpNotFoundException class.

HelpNotFoundException(String, Exception)

Initializes a new instance of the HelpNotFoundException class with the given help topic and associated exception.

HelpNotFoundException()

Initializes a new instance of the HelpNotFoundException class.

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

Applies to

HelpNotFoundException(String)

Initializes a new instance of the HelpNotFoundException class with the give help topic.

public:
 HelpNotFoundException(System::String ^ helpTopic);
public:
 HelpNotFoundException(Platform::String ^ helpTopic);
 HelpNotFoundException(std::wstring const & helpTopic);
public HelpNotFoundException (string helpTopic);
new Microsoft.PowerShell.Commands.HelpNotFoundException : string -> Microsoft.PowerShell.Commands.HelpNotFoundException
Public Sub New (helpTopic As String)

Parameters

helpTopic
String

The help topic for which help is not found.

Applies to

HelpNotFoundException(SerializationInfo, StreamingContext)

Caution

Legacy serialization support is deprecated since .NET 8

Initializes a new instance of the HelpNotFoundException class.

protected:
 HelpNotFoundException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected HelpNotFoundException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete("Legacy serialization support is deprecated since .NET 8", DiagnosticId="SYSLIB0051")]
protected HelpNotFoundException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.PowerShell.Commands.HelpNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.PowerShell.Commands.HelpNotFoundException
[<System.Obsolete("Legacy serialization support is deprecated since .NET 8", DiagnosticId="SYSLIB0051")>]
new Microsoft.PowerShell.Commands.HelpNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.PowerShell.Commands.HelpNotFoundException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

Serialization information.

context
StreamingContext

Streaming context.

Attributes

Applies to

HelpNotFoundException(String, Exception)

Initializes a new instance of the HelpNotFoundException class with the given help topic and associated exception.

public:
 HelpNotFoundException(System::String ^ helpTopic, Exception ^ innerException);
public HelpNotFoundException (string helpTopic, Exception innerException);
new Microsoft.PowerShell.Commands.HelpNotFoundException : string * Exception -> Microsoft.PowerShell.Commands.HelpNotFoundException
Public Sub New (helpTopic As String, innerException As Exception)

Parameters

helpTopic
String

The help topic for which help is not found.

innerException
Exception

The inner exception.

Applies to