Unsubscribed Events
Collapse the table of content
Expand the table of content

PSEventSubscriber.Unsubscribed Event

Occurs when this event subscriber is unregistered. Introduced in Windows PowerShell 3.0.

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

Dim instance As PSEventSubscriber
Dim handler As PSEventUnsubscribedEventHandler

AddHandler instance.Unsubscribed, handler

Public Event Unsubscribed As PSEventUnsubscribedEventHandler
/** @event */
public void add_Unsubscribed (PSEventUnsubscribedEventHandler value)

/** @event */
public void remove_Unsubscribed (PSEventUnsubscribedEventHandler value)


Target Platforms

© 2015 Microsoft