PSEvent Class

Definition

Used to access the adapted or base events from the BaseObject

public class PSEvent : System.Management.Automation.PSMemberInfo
Inheritance

Inherited Members

System.Management.Automation.PSMemberInfo

Remarks

It is permitted to subclass PSMethod but there is no established scenario for doing this, nor has it been tested.

Properties

MemberType

Gets the member type

TypeNameOfValue

Gets the type of the value for this member. This always returns typeof(PSMethod).FullName.

Value

Gets the value of this member. The getter returns the actual .NET event that this type wraps.

Methods

Copy()

returns a new PSMemberInfo that is a copy of this PSMemberInfo

ToString()

Returns the string representation of this member