WriteError Class

Definition

Activity to invoke the Microsoft.PowerShell.Utility\Write-Error command in a Workflow.

public sealed class WriteError : Microsoft.PowerShell.Activities.PSActivity
Inheritance

Inherited Members

Microsoft.PowerShell.Activities.PipelineEnabledActivity

Microsoft.PowerShell.Activities.PSActivity

Constructors

WriteError()

Gets the display name of the command invoked by this activity.

Properties

Category

Provides access to the Category parameter.

CategoryActivity

Provides access to the CategoryActivity parameter.

CategoryReason

Provides access to the CategoryReason parameter.

CategoryTargetName

Provides access to the CategoryTargetName parameter.

CategoryTargetType

Provides access to the CategoryTargetType parameter.

ErrorId

Provides access to the ErrorId parameter.

ErrorRecord

Provides access to the ErrorRecord parameter.

Exception

Provides access to the Exception parameter.

Message

Provides access to the Message parameter.

PSCommandName

Gets the fully qualified name of the command invoked by this activity.

RecommendedAction

Provides access to the RecommendedAction parameter.

TargetObject

Provides access to the TargetObject parameter.