Windows desktop applications
Collapse the table of content
Expand the table of content
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 Members

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.

The following tables list the members exposed by the PSEventArgs type.

  Name Description
public property ComputerName Gets the name of the computer where the event was raised. This property is introduced in Windows PowerShell 2.0.
public property EventIdentifier Gets the unique identifier of the raised event. This property is introduced in Windows PowerShell 2.0.
public property MessageData Gets any user data associated with the raised event. This property is introduced in Windows PowerShell 2.0.
public property RunspaceId Gets the global identifier for the event that is unique to the runspace where the event was raised. This property is introduced in Windows PowerShell 2.0.
public property Sender Gets the object (also referred to as the source) that raised the event. This property is introduced in Windows PowerShell 2.0.
public property SourceArgs Gets any original arguments of the event that were captured and passed on by the source when the event was raised. This property is introduced in Windows PowerShell 2.0.
public property SourceEventArgs Gets any arguments that were added by the source when the event was raised. This property is introduced in Windows PowerShell 2.0.
public property SourceIdentifier Gets the identifier of the source that raised the event. This property is introduced in Windows PowerShell 2.0.
public property TimeGenerated Gets the date and time of when the event was raised. This property is introduced in Windows PowerShell 2.0.
Top

(see also Protected Methods)
 NameDescription
public methodEquals  (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodToString  (Inherited from Object)
Top

(see also Extension Methods)
 NameDescription
protected methodFinalize  (Inherited from Object)
protected methodMemberwiseClone  (Inherited from Object)
Top

  Name Description
public extension method As  Use this method to adapt an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  This is called to adapt an object from a foreign app domain to a known interface in this appDomainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  Adapts an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Use this method to adapt and extend an object so that you can pass it to a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  This is called to adapt and extend an object that we wish to pass to a foreign app domainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Used to extend an object with an interface from a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method ToEnumerable  This element is introduced in Windows PowerShell 5.0. (Defined by CollectionExtensions.)
Top


Show:
© 2016 Microsoft