Export (0) Print
Expand All

InvalidJobStateException Constructor

Initializes a new instance of the InvalidJobStateException class. The variants of this constructor can be used to create an empty object, an object that contains an exception message, and more. This constructor is introduced by Windows PowerShell 2.0.

NameDescription
InvalidJobStateException ()Initializes a new instance of the InvalidJobStateException class that is empty. This constructor is introduced by Windows PowerShell 2.0.
InvalidJobStateException (JobState, String)Initializes a new instance of the InvalidJobStateException class that contains the job state at the time of the error and an additional message about the error.
InvalidJobStateException (SerializationInfo, StreamingContext)Initializes a new instance of the InvalidJobStateException class that contains information that is read from the provided serialization information. This constructor is introduced by Windows PowerShell 2.0.
InvalidJobStateException (String)Initializes a new instance of the InvalidJobStateException class that contains an exception message. This constructor is introduced by Windows PowerShell 2.0.
InvalidJobStateException (String, Exception)Initializes a new instance of the InvalidJobStateException class that contains an exception message and the inner exception that caused this exception to be thrown. This constructor is introduced by Windows PowerShell 2.0.

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft