PSEventJob Constructor

Definition

Creates a new instance of the PSEventJob class.

         <param name="eventManager">
         The event manager that controls the event subscriptions
         </param><param name="subscriber">
         The subscriber that generates these actions
         </param><param name="action">
         The script block invoked for this event
         </param><param name="name">
         The name of the job
         </param>
public PSEventJob (System.Management.Automation.PSEventManager eventManager, System.Management.Automation.PSEventSubscriber subscriber, System.Management.Automation.ScriptBlock action, string name);
Parameters
eventManager
PSEventManager
subscriber
PSEventSubscriber
action
ScriptBlock
name
String