Windows Dev Center

Information
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.

PSEventArgs Class

Provides data for the eventing functionality provided by Windows PowerShell. This class can be used to subscribe to and receive events. 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 PSEventArgs

public class PSEventArgs : EventArgs
public class PSEventArgs extends EventArgs
public class PSEventArgs extends EventArgs

For more information about a raised event that was forwarded from a remote runspace, see ForwardedEventArgs.


System.Object
   System.EventArgs
    System.Management.Automation.PSEventArgs

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms


Show:
© 2015 Microsoft