PSEventSubscriber
Class
Definition
Represents a subscriber to an event
public class PSEventSubscriber : IEquatable<System.Management.Automation.PSEventSubscriber>
- Inheritance
-
PSEventSubscriber
- Implements
Properties
| Action |
The action invoked when this event arrives |
| EventName |
The event object to which this event subscription applies |
| ForwardEvent |
Gets whether to forward the event to the PowerShell client during a remote execution |
| HandlerDelegate |
The delegate invoked when this event arrives |
| SourceIdentifier |
The identifier that identifies the source of these events |
| SourceObject |
The object to which this event subscription applies |
| SubscriptionId |
Get the identifier of this event subscription |
| SupportEvent |
Get the flag that marks this event as a supporting event |
Methods
| Equals(PSEventSubscriber) |
Determines if two PSEventSubscriber instances are equal The PSEventSubscriber to which to compare this instance |
| GetHashCode() |
Gets the hashcode that represents this PSEventSubscriber instance |
Events
| Unsubscribed |
The event generated when this event subscriber is unregistered |