Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RemoteException Constructor

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Initializes a new instance of the RemoteException class. The variants of this constructor can create an empty object, an object that contains an exception message, and more.

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

NameDescription
System_CAPS_pubmethodRemoteException()

Initializes a new instance of the RemoteException class that is empty.

System_CAPS_protmethodRemoteException(SerializationInfo, StreamingContext)

Initializes a new instance of the RemoteException class that contains information read from the provided serialization information.

System_CAPS_pubmethodRemoteException(String)

Initializes a new instance of the RemoteException class that contains an exception message.

System_CAPS_pubmethodRemoteException(String, Exception)

Initializes a new instance of the RemoteException class that contains an exception message and the inner exception that caused this exception to be thrown.

This constructor should not be called. RemoteException objects should be created only by the Windows PowerShell runtime.

Return to top

Community Additions

Show: