PSEventHandler PSEventHandler PSEventHandler Constructors

Definition

Overloads

PSEventHandler() PSEventHandler()

Creates a new instance of the PsEventHandler class

PSEventHandler(PSEventManager, Object, String, PSObject) PSEventHandler(PSEventManager, Object, String, PSObject) PSEventHandler(PSEventManager, Object, String, PSObject)

Creates a new instance of the PsEventHandler class for a given event manager, source identifier, and extra data

The event manager to which we forward events. The object that generated this event. An optional subscription identifier that identifies the source of the event Any additional data you wish to attach to the event

PSEventHandler() PSEventHandler()

Creates a new instance of the PsEventHandler class

public PSEventHandler ();
Public Sub New ()

PSEventHandler(PSEventManager, Object, String, PSObject) PSEventHandler(PSEventManager, Object, String, PSObject) PSEventHandler(PSEventManager, Object, String, PSObject)

Creates a new instance of the PsEventHandler class for a given event manager, source identifier, and extra data

The event manager to which we forward events. The object that generated this event. An optional subscription identifier that identifies the source of the event Any additional data you wish to attach to the event
public PSEventHandler (System.Management.Automation.PSEventManager eventManager, object sender, string sourceIdentifier, System.Management.Automation.PSObject extraData);
new System.Management.Automation.PSEventHandler : System.Management.Automation.PSEventManager * obj * string * System.Management.Automation.PSObject -> System.Management.Automation.PSEventHandler
Public Sub New (eventManager As PSEventManager, sender As Object, sourceIdentifier As String, extraData As PSObject)
Parameters
sourceIdentifier
String String String

Applies to