The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PSEventReceivedEventHandler Delegate


Updated: April 27, 2016

Applies To: Windows PowerShell

Represents the delegate called by events that are raised by the Windows PowerShell Event Manager. This class is introduced in Windows PowerShell 2.0.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

public delegate void PSEventReceivedEventHandler(
	object sender,
	PSEventArgs e


Type: System.Object

The object that generated the event, such as a FileSystemWatcher object in the case of subscriptions to File System events.

Type: System.Management.Automation.PSEventArgs

A PSEventArgs object that contains arguments for the underlying event, such as the TimeGenerated argument.

Return to top

Community Additions