Creates a new GetValueException object. The variants of this constructor can create an empty object, an object that contains an exception message, and more.
Script developers can trap this exception by using the Trap statement (defined by the Windows PowerShell language) in their scripts. For more information about other exceptions thrown by ETS, see ETS Errors and Exceptions.
|GetValueException ()||Creates a new GetValueException object that is empty.|
|GetValueException (SerializationInfo, StreamingContext)||Creates a new GetValueException object that contains information that is read from the provided serialization information.|
|GetValueException (String)||Creates a new GetValueException object that contains an exception message.|
|GetValueException (String, Exception)||Creates a new GetValueException object that contains an exception message and the inner exception that caused this exception to be thrown.|
Send comments about this topic to Microsoft.