WeakEventManager.ListenerList<TEventArgs>.DeliverEvent Method (Object, EventArgs, Type)

.NET Framework (current version)
 

Delivers the event being managed to each listener in the WeakEventManager.ListenerList<TEventArgs>.

Namespace:   System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

public override bool DeliverEvent(
	object sender,
	EventArgs e,
	Type managerType
)

Parameters

sender
Type: System.Object

The object that raised the event.

e
Type: System.EventArgs

An object that contains the event data.

managerType
Type: System.Type

The type of the WeakEventManager that calls this method.

Return Value

Type: System.Boolean

true if any of the listeners in the WeakEventManager.ListenerList<TEventArgs> refer to an object that has been garbage collected; otherwise, false.

.NET Framework
Available since 4.5
Return to top
Show: