Export (0) Print
Expand All

SetValueInvocationException Constructor

Initializes a new instance of the SetValueInvocationException class. The variants of this constructor can be used to 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
SetValueInvocationException ()Initializes a new instance of the SetValueInvocationException class that is empty.
SetValueInvocationException (SerializationInfo, StreamingContext)Initializes a new instance of the SetValueInvocationException class that contains information read from the provided serialization information.
SetValueInvocationException (String)Initializes a new instance of the SetValueInvocationException class that contains an exception message.
SetValueInvocationException (String, Exception)Initializes a new instance of the SetValueInvocationException class that contains an exception message and the inner exception that caused this exception to be thrown.

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft