PSRemotingTransportRedirectException PSRemotingTransportRedirectException PSRemotingTransportRedirectException Constructors

Definition

Overloads

PSRemotingTransportRedirectException() PSRemotingTransportRedirectException()

This is the default constructor.

PSRemotingTransportRedirectException(String) PSRemotingTransportRedirectException(String) PSRemotingTransportRedirectException(String)

This constructor takes a localized error message.

PSRemotingTransportRedirectException(SerializationInfo, StreamingContext) PSRemotingTransportRedirectException(SerializationInfo, StreamingContext) PSRemotingTransportRedirectException(SerializationInfo, StreamingContext)

This constructor is required by serialization.

PSRemotingTransportRedirectException(String, Exception) PSRemotingTransportRedirectException(String, Exception) PSRemotingTransportRedirectException(String, Exception)

This constructor takes a localized message and an inner exception.

PSRemotingTransportRedirectException() PSRemotingTransportRedirectException()

This is the default constructor.

public PSRemotingTransportRedirectException ();
Public Sub New ()

PSRemotingTransportRedirectException(String) PSRemotingTransportRedirectException(String) PSRemotingTransportRedirectException(String)

This constructor takes a localized error message.

public PSRemotingTransportRedirectException (string message);
new System.Management.Automation.Remoting.PSRemotingTransportRedirectException : string -> System.Management.Automation.Remoting.PSRemotingTransportRedirectException
Public Sub New (message As String)
Parameters
message
String String String

A localized error message.

PSRemotingTransportRedirectException(SerializationInfo, StreamingContext) PSRemotingTransportRedirectException(SerializationInfo, StreamingContext) PSRemotingTransportRedirectException(SerializationInfo, StreamingContext)

This constructor is required by serialization.

protected PSRemotingTransportRedirectException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Management.Automation.Remoting.PSRemotingTransportRedirectException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Management.Automation.Remoting.PSRemotingTransportRedirectException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
Exceptions

PSRemotingTransportRedirectException(String, Exception) PSRemotingTransportRedirectException(String, Exception) PSRemotingTransportRedirectException(String, Exception)

This constructor takes a localized message and an inner exception.

public PSRemotingTransportRedirectException (string message, Exception innerException);
new System.Management.Automation.Remoting.PSRemotingTransportRedirectException : string * Exception -> System.Management.Automation.Remoting.PSRemotingTransportRedirectException
Public Sub New (message As String, innerException As Exception)
Parameters
message
String String String

Localized error message.

innerException
Exception Exception Exception

Inner exception.

Applies to