Bagikan melalui


ProcessCommandException Constructors

Definition

Overloads

ProcessCommandException()

Unimplemented standard constructor.

ProcessCommandException(String)

Standard constructor.

ProcessCommandException(SerializationInfo, StreamingContext)
Obsolete.

Serialization constructor.

ProcessCommandException(String, Exception)

Standard constructor.

ProcessCommandException()

Unimplemented standard constructor.

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

Applies to

ProcessCommandException(String)

Standard constructor.

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

Parameters

message
String

Applies to

ProcessCommandException(SerializationInfo, StreamingContext)

Caution

Legacy serialization support is deprecated since .NET 8

Serialization constructor.

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

Parameters

Attributes

Applies to

ProcessCommandException(String, Exception)

Standard constructor.

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

Parameters

message
String
innerException
Exception

Applies to