Export (0) Print
Expand All

GetValueInvocationException Constructor

Creates a new GetValueInvocationException 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.

NameDescription
GetValueInvocationException ()Creates a new GetValueInvocationException object that is empty.
GetValueInvocationException (SerializationInfo, StreamingContext)Creates a new GetValueInvocationException object that contains information that is read from the provided serialization information.
GetValueInvocationException (String)Creates a new GetValueInvocationException object that contains an exception message.
GetValueInvocationException (String, Exception)Creates a new GetValueInvocationException object that contains an exception message and the inner exception that caused this exception to be thrown.


Show:
© 2014 Microsoft