Share via


PowerShellExecutionException Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

An exception thrown during execution of a InvokePowerShell activity.

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class PowerShellExecutionException _
    Inherits Exception
'Usage
Dim instance As PowerShellExecutionException
[SerializableAttribute]
public class PowerShellExecutionException : Exception
[SerializableAttribute]
public ref class PowerShellExecutionException : public Exception
public class PowerShellExecutionException extends Exception
[<SerializableAttribute>]
type PowerShellExecutionException =  
    class
        inherit Exception
    end

Remarks

Note that to use PowerShell activities, PowerShell must be installed. PowerShell is not installed automatically with .

Inheritance Hierarchy

System.Object
  System.Exception
    System.Management.Automation.Activities.PowerShellExecutionException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also

Reference

PowerShellExecutionException Members

System.Management.Automation.Activities Namespace