Lire en anglais

Partager via


PSEventArgsCollection Class

Definition

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

C++
public ref class PSEventArgsCollection : System::Collections::Generic::IEnumerable<System::Management::Automation::PSEventArgs ^>
Inheritance
PSEventArgsCollection
Implements

Constructors

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.

Applies to

Produit Versions
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0