Aracılığıyla paylaş


PSRemotingTransportException Class

Definition

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

public ref class PSRemotingTransportException : System::Management::Automation::RuntimeException
[System.Serializable]
public class PSRemotingTransportException : System.Management.Automation.RuntimeException
public class PSRemotingTransportException : System.Management.Automation.RuntimeException
[<System.Serializable>]
type PSRemotingTransportException = class
    inherit RuntimeException
type PSRemotingTransportException = class
    inherit RuntimeException
Public Class PSRemotingTransportException
Inherits 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

GetObjectData(SerializationInfo, StreamingContext)

Serializes the exception data.

GetObjectData(SerializationInfo, StreamingContext)

Serializer for ISerializable

(Inherited from RuntimeException)
SetDefaultErrorRecord()

Set the default ErrorRecord.

Applies to