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)

override DeliverEvent : 
        sender:Object *
        e:EventArgs *
        managerType:Type -> bool

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: