Assembly: System.Management.Automation (in System.Management.Automation.dll)
/** @attribute SerializableAttribute() */ public class GetValueInvocationException extends GetValueException
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.
This exception is thrown when the underlying getter recognizes that the error has occurred. When the Windows PowerShell runtime recognizes that the error has occurred, it throws a GetValueException exception.
Target PlatformsWindows Developer Preview, Windows Server Developer Preview
Send comments about this topic to Microsoft.