Share via


PSRemotingTransportRedirectException Class

Definition

This exception is used by PowerShell's remoting infrastructure to notify a URI redirection exception.

public ref class PSRemotingTransportRedirectException : System::Management::Automation::Remoting::PSRemotingTransportException
[System.Serializable]
public class PSRemotingTransportRedirectException : System.Management.Automation.Remoting.PSRemotingTransportException
public class PSRemotingTransportRedirectException : System.Management.Automation.Remoting.PSRemotingTransportException
[<System.Serializable>]
type PSRemotingTransportRedirectException = class
    inherit PSRemotingTransportException
type PSRemotingTransportRedirectException = class
    inherit PSRemotingTransportException
Public Class PSRemotingTransportRedirectException
Inherits PSRemotingTransportException
Inheritance
PSRemotingTransportRedirectException
Attributes

Constructors

PSRemotingTransportRedirectException()

This is the default constructor.

PSRemotingTransportRedirectException(SerializationInfo, StreamingContext)
Obsolete.

This constructor is required by serialization.

PSRemotingTransportRedirectException(String, Exception)

This constructor takes a localized message and an inner exception.

PSRemotingTransportRedirectException(String)

This constructor takes a localized error message.

Properties

ErrorCode

The error code from native library API call.

(Inherited from PSRemotingTransportException)
ErrorRecord

Additional information about the error.

(Inherited from RuntimeException)
RedirectLocation

String specifying a redirect location.

TransportMessage

This the message from the native transport layer.

(Inherited from PSRemotingTransportException)
WasThrownFromThrowStatement (Inherited from RuntimeException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

Serializes the exception data.

GetObjectData(SerializationInfo, StreamingContext)

Serializes the exception data.

(Inherited from PSRemotingTransportException)
SetDefaultErrorRecord()

Set the default ErrorRecord.

(Inherited from PSRemotingTransportException)

Applies to