Udostępnij za pośrednictwem


PSEventManager.ProcessNewEvent Method

Definition

Overloads

ProcessNewEvent(PSEventArgs, Boolean)

Processes new events (which have either been generated by this instance or forwarded to it)

ProcessNewEvent(PSEventArgs, Boolean, Boolean)

Processes new events (which have either been generated by this instance or forwarded to it)

ProcessNewEvent(PSEventArgs, Boolean)

Processes new events (which have either been generated by this instance or forwarded to it)

protected:
 abstract void ProcessNewEvent(System::Management::Automation::PSEventArgs ^ newEvent, bool processInCurrentThread);
protected abstract void ProcessNewEvent (System.Management.Automation.PSEventArgs newEvent, bool processInCurrentThread);
abstract member ProcessNewEvent : System.Management.Automation.PSEventArgs * bool -> unit
Protected MustOverride Sub ProcessNewEvent (newEvent As PSEventArgs, processInCurrentThread As Boolean)

Parameters

newEvent
PSEventArgs
processInCurrentThread
Boolean

Applies to

ProcessNewEvent(PSEventArgs, Boolean, Boolean)

Processes new events (which have either been generated by this instance or forwarded to it)

protected public:
 virtual void ProcessNewEvent(System::Management::Automation::PSEventArgs ^ newEvent, bool processInCurrentThread, bool waitForCompletionWhenInCurrentThread);
protected internal virtual void ProcessNewEvent (System.Management.Automation.PSEventArgs newEvent, bool processInCurrentThread, bool waitForCompletionWhenInCurrentThread);
abstract member ProcessNewEvent : System.Management.Automation.PSEventArgs * bool * bool -> unit
override this.ProcessNewEvent : System.Management.Automation.PSEventArgs * bool * bool -> unit
Protected Friend Overridable Sub ProcessNewEvent (newEvent As PSEventArgs, processInCurrentThread As Boolean, waitForCompletionWhenInCurrentThread As Boolean)

Parameters

newEvent
PSEventArgs
processInCurrentThread
Boolean
waitForCompletionWhenInCurrentThread
Boolean

Applies to