Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

RemoteException Class

The exception that is thrown for an error that comes from a remote instance of Windows PowerShell.

Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

Dim instance As RemoteException

public class RemoteException : RuntimeException
/** @attribute SerializableAttribute() */ 
public class RemoteException extends RuntimeException
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.


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

© 2015 Microsoft