Udostępnij za pośrednictwem


PSNotImplementedException Constructors

Definition

Overloads

PSNotImplementedException()

Initializes a new instance of the PSNotImplementedException class.

PSNotImplementedException(String)

Initializes a new instance of the PSNotImplementedException class.

PSNotImplementedException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of the PSNotImplementedException class using data serialized via ISerializable

PSNotImplementedException(String, Exception)

Initializes a new instance of the PSNotImplementedException class.

PSNotImplementedException()

Initializes a new instance of the PSNotImplementedException class.

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

Applies to

PSNotImplementedException(String)

Initializes a new instance of the PSNotImplementedException class.

public:
 PSNotImplementedException(System::String ^ message);
public:
 PSNotImplementedException(Platform::String ^ message);
 PSNotImplementedException(std::wstring const & message);
public PSNotImplementedException (string message);
new System.Management.Automation.PSNotImplementedException : string -> System.Management.Automation.PSNotImplementedException
Public Sub New (message As String)

Parameters

message
String

Applies to

PSNotImplementedException(SerializationInfo, StreamingContext)

Caution

Legacy serialization support is deprecated since .NET 8

Initializes a new instance of the PSNotImplementedException class using data serialized via ISerializable

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

Parameters

info
SerializationInfo

Serialization information.

context
StreamingContext

Streaming context.

Attributes

Applies to

PSNotImplementedException(String, Exception)

Initializes a new instance of the PSNotImplementedException class.

public:
 PSNotImplementedException(System::String ^ message, Exception ^ innerException);
public PSNotImplementedException (string message, Exception innerException);
new System.Management.Automation.PSNotImplementedException : string * Exception -> System.Management.Automation.PSNotImplementedException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String
innerException
Exception

Applies to