Partager via


PSDirectException Class

Definition

This exception is used by PowerShell Direct errors.

public ref class PSDirectException : System::Management::Automation::RuntimeException
[System.Serializable]
public class PSDirectException : System.Management.Automation.RuntimeException
public class PSDirectException : System.Management.Automation.RuntimeException
[<System.Serializable>]
type PSDirectException = class
    inherit RuntimeException
type PSDirectException = class
    inherit RuntimeException
Public Class PSDirectException
Inherits RuntimeException
Inheritance
PSDirectException
Attributes

Constructors

PSDirectException(String)

This constructor takes a localized string as the error message.

Properties

ErrorRecord

Additional information about the error.

(Inherited from RuntimeException)
WasThrownFromThrowStatement (Inherited from RuntimeException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

Serializer for ISerializable

(Inherited from RuntimeException)

Applies to