RemoteException Class
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.
Exception used to wrap the error coming from remote instance of PowerShell.
public ref class RemoteException : System::Management::Automation::RuntimeException
[System.Serializable]
public class RemoteException : System.Management.Automation.RuntimeException
public class RemoteException : System.Management.Automation.RuntimeException
[<System.Serializable>]
type RemoteException = class
inherit RuntimeException
type RemoteException = class
inherit RuntimeException
Public Class RemoteException
Inherits RuntimeException
- Inheritance
- Attributes
This remote instance of PowerShell can be in a separate process, appdomain or machine.
Remote |
Initializes a new instance of RemoteException. |
Remote |
Obsolete.
Initializes a new instance of the RemoteException class with serialized data. |
Remote |
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. |
Remote |
Initializes a new instance of RemoteException with a specified error message. |
Error |
ErrorRecord associated with the exception. |
Serialized |
Original Serialized Exception from remote PowerShell. |
Serialized |
InvocationInfo, if any, associated with the SerializedRemoteException. |
Was |
(Inherited from RuntimeException) |
Get |
Serializer for ISerializable (Inherited from RuntimeException) |
Produit | Versions |
---|---|
PowerShell SDK | 7.2.0, 7.3.0, 7.4.0 |
Windows PowerShell | 5.1.0.0 |