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

Name Description
PSEventArgsCollection()

Properties

Name Description
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

Name Description
GetEnumerator()

Get the enumerator of this collection.

RemoveAt(Int32)

Removes an item at a specific index from the collection.

Events

Name Description
PSEventReceived

The event generated when a new event is received.

Explicit Interface Implementations

Name Description
IEnumerable.GetEnumerator()

Get the enumerator of this collection.

Applies to