InvokePowerShell.Errors Property

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

Collection of errors returned by the PowerShell command.

This API is not CLS-compliant. 

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Property Errors As OutArgument(Of Collection(Of ErrorRecord))
    Get
    Set
'Usage
Dim instance As InvokePowerShell
Dim value As OutArgument(Of Collection(Of ErrorRecord))

value = instance.Errors

instance.Errors = value
[CLSCompliantAttribute(false)]
public OutArgument<Collection<ErrorRecord>> Errors { get; set; }
[CLSCompliantAttribute(false)]
public:
property OutArgument<Collection<ErrorRecord^>^>^ Errors {
    OutArgument<Collection<ErrorRecord^>^>^ get ();
    void set (OutArgument<Collection<ErrorRecord^>^>^ value);
}
function get Errors () : OutArgument<Collection<ErrorRecord>>
function set Errors (value : OutArgument<Collection<ErrorRecord>>)
[<CLSCompliantAttribute(false)>]
member Errors : OutArgument<Collection<ErrorRecord>> with get, set

Property Value

Type: System.Activities.OutArgument<Collection<ErrorRecord>>
The error collection.

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

InvokePowerShell Class

InvokePowerShell Members

System.Management.Automation.Activities Namespace