Partager via


PSEventArgsCollection Class

Definition

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

public ref class PSEventArgsCollection : System::Collections::Generic::IEnumerable<System::Management::Automation::PSEventArgs ^>
public class PSEventArgsCollection : System.Collections.Generic.IEnumerable<System.Management.Automation.PSEventArgs>
type PSEventArgsCollection = class
    interface seq<PSEventArgs>
    interface IEnumerable
Public Class PSEventArgsCollection
Implements IEnumerable(Of 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.

Applies to