Lire en anglais

Partager via


JobFailedException Class

Definition

Container exception for jobs that can map errors and exceptions to specific lines in their input.

C++
public ref class JobFailedException : SystemException
Inheritance
JobFailedException
Attributes

Constructors

JobFailedException()

Creates a new JobFailedException.

JobFailedException(Exception, ScriptExtent)

Creates a new JobFailedException.

JobFailedException(SerializationInfo, StreamingContext)
Obsolete.

Class constructor.

JobFailedException(String, Exception)

Creates a new JobFailedException.

JobFailedException(String)

Creates a new JobFailedException.

Properties

DisplayScriptPosition

The user-focused location from where this error originated.

Message

Returns the reason for this exception.

Reason

The actual exception that caused this error.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Gets the information for serialization.

Applies to

Produit Versions
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0