SetValueException Class

Definition

Defines the exception thrown for errors setting the value of properties.

C++
public ref class SetValueException : System::Management::Automation::ExtendedTypeSystemException
Inheritance
Derived
Attributes

Constructors

SetValueException()

Initializes a new instance of SetValueException with the message set to typeof(SetValueException).FullName.

SetValueException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of SetValueException with serialization parameters.

SetValueException(String, Exception)

Initializes a new instance of SetValueException setting the message and innerException.

SetValueException(String)

Initializes a new instance of SetValueException setting the message.

Properties

ErrorRecord

Additional information about the error.

(Inherited from RuntimeException)
WasThrownFromThrowStatement (Inherited from RuntimeException)

Methods

Applies to

Proizvod Verzije
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0