PSEventSubscriber Class
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.
Represents a subscriber to an event.
public ref class PSEventSubscriber : IEquatable<System::Management::Automation::PSEventSubscriber ^>
public class PSEventSubscriber : IEquatable<System.Management.Automation.PSEventSubscriber>
type PSEventSubscriber = class
interface IEquatable<PSEventSubscriber>
Public Class PSEventSubscriber
Implements IEquatable(Of 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(Object) |
Determines whether the specified object is equal to the current object. |
Equals(PSEventSubscriber) |
Determines if two PSEventSubscriber instances are equal |
GetHashCode() |
Gets the hashcode that represents this PSEventSubscriber instance. |
Events
Unsubscribed |
The event generated when this event subscriber is unregistered. |