Assembly: System.Management.Automation (in System.Management.Automation.dll)
[SerializableAttribute] public ref class GetValueInvocationException : public GetValueException
/** @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.