WeakEventManager.ProtectedAddHandler Method (Object, Delegate)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Adds the specified delegate as an event handler of the specified source.

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

Protected Sub ProtectedAddHandler (
	source As Object,
	handler As Delegate
)

Parameters

source
Type: System.Object

The source object that the handler delegate subscribes to.

handler
Type: System.Delegate

The delegate that handles the event that is raised by source.

.NET Framework
Available since 4.5
Return to top
Show: