This topic has not yet been rated - Rate this topic

RemoteException Class

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Exception that is used to wrap an error coming from a remote instance of Windows PowerShell.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation)
'Usage
Dim instance As RemoteException

[SerializableAttribute] 
public class RemoteException : RuntimeException
/** @attribute SerializableAttribute() */ 
public class RemoteException extends RuntimeException
SerializableAttribute 
public class RemoteException extends RuntimeException

The remote instance of Windows PowerShell can be a separate application domain, process, or computer. This remote entity can be PS.exe (the default host application) or a custom host application.

The type of the original exception might not be available in the local application domain, process, or computer, so the original exception is available only as a serialized PSObject object.


System.Object
   System.Exception
     System.SystemException
       System.Management.Automation.RuntimeException
        System.Management.Automation.RemoteException
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Did you find this helpful?
(1500 characters remaining)