PSEventArgsCollection Class

Definition

This class contains the collection of events received by the execution context.

public class PSEventArgsCollection : System.Collections.Generic.IEnumerable<System.Management.Automation.PSEventArgs>
Inheritance
PSEventArgsCollection
Implements

Constructors

PSEventArgsCollection()

Properties

Count

Removes an item at a specific index from the collection

Item[Int32]

Gets an item at a specific index from the collection

SyncRoot

Get the synchronization root for this collection

Methods

GetEnumerator()

Get the enumerator of this collection

RemoveAt(Int32)

Removes an item at a specific index from the collection

Events

PSEventReceived

The event generated when a new event is received

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Get the enumerator of this collection