Expand Minimize

PSEventReceivedEventHandler Delegate

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)

'Usage
Dim instance As New PSEventReceivedEventHandler(AddressOf HandlerMethod)

public delegate void PSEventReceivedEventHandler (
	Object sender,
	PSEventArgs e
)
/** @delegate */
public delegate void PSEventReceivedEventHandler (
	Object sender, 
	PSEventArgs e
)

Parameters

sender

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

e

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

 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft