Dela via


PSEventArgs Class

Definition

The event arguments associated with an event.

public ref class PSEventArgs : EventArgs
public class PSEventArgs : EventArgs
type PSEventArgs = class
    inherit EventArgs
Public Class PSEventArgs
Inherits EventArgs
Inheritance
PSEventArgs

Properties

ComputerName

Gets the name of the computer on which this event was generated; the value of this property is null for events generated on the local machine.

EventIdentifier

Gets the unique identifier of this event.

MessageData

Gets the additional user data associated with this event.

RunspaceId

Gets the unique identifier of this event.

Sender

Gets the object that generated this event.

SourceArgs

Gets the list of arguments captured by the original event source.

SourceEventArgs

Gets the first argument from the original event source that derives from EventArgs.

SourceIdentifier

Gets the identifier associated with the source of this event.

TimeGenerated

Gets the time and date that this event was generated.

Applies to