PSEventJob Class

Definition

A class to give a job-like interface to event actions

public class PSEventJob : System.Management.Automation.Job
Inheritance
PSEventJob

Inherited Members

System.Management.Automation.Job

Constructors

PSEventJob(PSEventManager, PSEventSubscriber, ScriptBlock, String)

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>

Properties

HasMoreData

indicates if more data is available

Location

Location in which this job is running

Module

Gets dynamic module where the action is invoked

StatusMessage

Message indicating status of the job

Methods

StopJob()

Stop Job