PSRemotingTransportException Class

Definition

This exception is used by remoting code to indicate an error condition in network operations.

C++
public ref class PSRemotingTransportException : System::Management::Automation::RuntimeException
Inheritance
PSRemotingTransportException
Derived
Attributes

Constructors

PSRemotingTransportException()

This is the default constructor.

PSRemotingTransportException(SerializationInfo, StreamingContext)
Obsolete.

This constructor is required by serialization.

PSRemotingTransportException(String, Exception)

This constructor takes a localized message and an inner exception.

PSRemotingTransportException(String)

This constructor takes a localized error message.

Properties

ErrorCode

The error code from native library API call.

ErrorRecord

Additional information about the error.

(Inherited from RuntimeException)
TransportMessage

This the message from the native transport layer.

WasThrownFromThrowStatement (Inherited from RuntimeException)

Methods

Applies to

Product Versions
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0