PSEventManager.UnsubscribeEvent(PSEventSubscriber) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Unsubscribes from an event on an object.
public:
abstract void UnsubscribeEvent(System::Management::Automation::PSEventSubscriber ^ subscriber);
public abstract void UnsubscribeEvent (System.Management.Automation.PSEventSubscriber subscriber);
abstract member UnsubscribeEvent : System.Management.Automation.PSEventSubscriber -> unit
Public MustOverride Sub UnsubscribeEvent (subscriber As PSEventSubscriber)
Parameters
- subscriber
- PSEventSubscriber
The subscriber associated with the event subscription