InvalidJobStateException InvalidJobStateException InvalidJobStateException Class

Definition

Defines exception which is thrown when state of the PSJob is different from the expected state.

public class InvalidJobStateException : SystemException
type InvalidJobStateException = class
    inherit SystemException
Public Class InvalidJobStateException
Inherits SystemException
Inheritance
InvalidJobStateExceptionInvalidJobStateExceptionInvalidJobStateException

Constructors

InvalidJobStateException() InvalidJobStateException() InvalidJobStateException()

Creates a new instance of InvalidPSJobStateException class.

InvalidJobStateException(String) InvalidJobStateException(String) InvalidJobStateException(String)

Creates a new instance of InvalidPSJobStateException class.

InvalidJobStateException(JobState, String) InvalidJobStateException(JobState, String) InvalidJobStateException(JobState, String)

Creates a new instance of InvalidJobStateException class.

InvalidJobStateException(SerializationInfo, StreamingContext) InvalidJobStateException(SerializationInfo, StreamingContext) InvalidJobStateException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidPSJobStateException class with serialized data.

InvalidJobStateException(String, Exception) InvalidJobStateException(String, Exception) InvalidJobStateException(String, Exception)

Creates a new instance of InvalidPSJobStateException class.

Properties

CurrentState CurrentState CurrentState

Gets CurrentState of the Job

Applies to