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)
The action invoked when this event arrives.
The event object to which this event subscription applies.
Gets whether to forward the event to the PowerShell client during a remote execution.
The delegate invoked when this event arrives.
The identifier that identifies the source of these events.
The object to which this event subscription applies.
Get the identifier of this event subscription.
Get the flag that marks this event as a supporting event.
Determines whether the specified object is equal to the current object.
Determines if two PSEventSubscriber instances are equal
Gets the hashcode that represents this PSEventSubscriber instance.
The event generated when this event subscriber is unregistered.