SettingValueExceptionEventArgs Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Represents the arguments for events that are triggered by exceptions thrown by the SetValue method of a PSObjectPropertyDescriptor object.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

System.Object
  System.EventArgs
    System.Management.Automation.SettingValueExceptionEventArgs

public class SettingValueExceptionEventArgs : EventArgs

NameDescription
System_CAPS_pubpropertyException

Gets the exception that triggered the event.

System_CAPS_pubpropertyShouldThrow

Gets or sets a value that indicates whether the SetValue method should throw the exception associated with this event.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: