This topic has not yet been rated - Rate this topic

GetValueInvocationException Class

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

The exception thrown by the underlying getter of a referenced member when it recognizes that an error has occurred while getting the value of an extended member (property, method, or parameterized property) of an object.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation)
'Usage
Dim instance As GetValueInvocationException

[SerializableAttribute] 
public class GetValueInvocationException : GetValueException
/** @attribute SerializableAttribute() */ 
public class GetValueInvocationException extends GetValueException
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.


System.Object
   System.Exception
     System.SystemException
       System.Management.Automation.RuntimeException
         System.Management.Automation.ExtendedTypeSystemException
           System.Management.Automation.GetValueException
            System.Management.Automation.GetValueInvocationException
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Did you find this helpful?
(1500 characters remaining)