This topic has not yet been rated - Rate this topic

PSEventReceivedEventHandler Delegate

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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)
'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.
Did you find this helpful?
(1500 characters remaining)