Assembly: System.Management.Automation (in System.Management.Automation.dll)
'Declaration <SerializableAttribute> _ Public Class SetValueInvocationException Inherits SetValueException
/** @attribute SerializableAttribute() */ public class SetValueInvocationException extends SetValueException
Script developers can trap this exception 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 setter recognizes that the error has occurred. When Windows PowerShell recognizes that the error has occurred, it throws a SetValueException exception.
Target PlatformsWindows Developer Preview, Windows Server Developer Preview
Send comments about this topic to Microsoft.