RemoteException RemoteException RemoteException Class

Definition

Exception used to wrap the error coming from remote instance of Msh.

public class RemoteException : System.Management.Automation.RuntimeException
type RemoteException = class
    inherit RuntimeException
Public Class RemoteException
Inherits RuntimeException
Inheritance

Remarks

This remote instance of Msh can be in a separate process,
appdomain or machine.

Constructors

RemoteException() RemoteException() RemoteException()

Initializes a new instance of RemoteException

RemoteException(SerializationInfo, StreamingContext) RemoteException(SerializationInfo, StreamingContext) RemoteException(SerializationInfo, StreamingContext)

Initializes a new instance of the RemoteException class with serialized data.

RemoteException(String) RemoteException(String) RemoteException(String)

Initializes a new instance of RemoteException with a specified error message.

RemoteException(String, Exception) RemoteException(String, Exception) RemoteException(String, Exception)

Initializes a new instance of the RemoteException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Properties

ErrorRecord ErrorRecord ErrorRecord

ErrorRecord associated with the exception

SerializedRemoteException SerializedRemoteException SerializedRemoteException

Original Serialized Exception from remote msh

SerializedRemoteInvocationInfo SerializedRemoteInvocationInfo SerializedRemoteInvocationInfo

InvocationInfo, if any, associated with the SerializedRemoteException.

StackTrace StackTrace StackTrace Inherited from RuntimeException
WasThrownFromThrowStatement WasThrownFromThrowStatement WasThrownFromThrowStatement Inherited from RuntimeException

Methods

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) Inherited from RuntimeException

Applies to