PSRemotingTransportRedirectException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Attributes
Constructors
PSRemotingTransportRedirectException() |
This is the default constructor. |
PSRemotingTransportRedirectException(SerializationInfo, StreamingContext) |
Obsolete.
This constructor is required by serialization. |
PSRemotingTransportRedirectException(String) |
This constructor takes a localized error message. |
PSRemotingTransportRedirectException(String, Exception) |
This constructor takes a localized message and an inner exception. |
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) |