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
)

Parameters

sender
Type: System::Object^

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

e
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

ADD
Show: