Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PSEventManager Members

Represents the base functionality of a Windows PowerShell event manager that handles subscribing to and receiving events that are raised by Windows PowerShell. This class is introduced in Windows PowerShell 2.0.

The following tables list the members exposed by the PSEventManager type.

  Name Description
  PSEventManager Initializes a new instance of the PSEventManager class. This constructor is introduced by Windows PowerShell 2.0.
Top

  Name Description
public property ReceivedEvents Gets the events that were raised in the current runspace. This property is introduced in Windows PowerShell 2.0.
public property Subscribers When overridden in a derived class, gets a list of the objects that currently subscribe to the event. This property is introduced in Windows PowerShell 2.0.
Top

(see also Protected Methods)
 NameDescription
public methodEquals  (Inherited from Object)
public methodGenerateEventOverloaded. Raises an event in the current runspace.
public methodGetEventSubscribersWhen overridden in a derived class, retrieves the objects that catch an event when it is raised. This method is introduced in Windows PowerShell 2.0.
public methodGetHashCode  (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodSubscribeEventOverloaded. Creates a subscriber to an event. This method is introduced in Windows PowerShell 2.0.
public methodToString  (Inherited from Object)
public methodUnsubscribeEventWhen overridden in a derived class, removes a subscriber from the list of objects that subscribe to the event. This method is introduced in Windows PowerShell 2.0.
Top

(see also Extension Methods)
 NameDescription
protected methodCreateEventWhen overridden in a derived class, creates a Windows PowerShell event.
protected methodFinalize  (Inherited from Object)
protected methodGetNextEventIdGenerates a sequential event identifier.
protected methodMemberwiseClone  (Inherited from Object)
protected methodProcessNewEventOverloaded. Processes new events that have either been generated by this instance or forwarded to it.
Top

  Name Description
public extension method As  Use this method to adapt an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  This is called to adapt an object from a foreign app domain to a known interface in this appDomainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  Adapts an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Use this method to adapt and extend an object so that you can pass it to a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  This is called to adapt and extend an object that we wish to pass to a foreign app domainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Used to extend an object with an interface from a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method ToEnumerable  This element is introduced in Windows PowerShell 5.0. (Defined by CollectionExtensions.)
Top


Show:
© 2015 Microsoft