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

Name Description
PSDirectException(String)

This constructor takes a localized string as the error message.

Properties

Name Description
ErrorRecord

Additional information about the error.

(Inherited from RuntimeException)
WasThrownFromThrowStatement (Inherited from RuntimeException)

Methods

Name Description
GetObjectData(SerializationInfo, StreamingContext)

Serializer for ISerializable

(Inherited from RuntimeException)

Applies to