SetValueInvocationException Class
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Exception thrown by the underlying setter of a referenced member when it recognizes that an error has occurred while setting the value of an ETS member (property, method, or parameterized property).
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation)
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation)
/** @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.
System.Object
System.Exception
System.SystemException
System.Management.Automation.RuntimeException
System.Management.Automation.ExtendedTypeSystemException
System.Management.Automation.SetValueException
System.Management.Automation.SetValueInvocationException
System.Exception
System.SystemException
System.Management.Automation.RuntimeException
System.Management.Automation.ExtendedTypeSystemException
System.Management.Automation.SetValueException
System.Management.Automation.SetValueInvocationException
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 PreviewSend comments about this topic to Microsoft.