Esta documentación está archivada y no tiene mantenimiento.

WeakEventManager.StartListening (Método)

When overridden in a derived class, starts listening for the event being managed. After StartListening is first called, the manager should be in the state of calling DeliverEvent or DeliverEventToList whenever the relevant event from the provided source is handled.

Espacio de nombres: System.Windows
Ensamblado: WindowsBase (en windowsbase.dll)

protected abstract void StartListening (
	Object source
)
protected abstract void StartListening (
	Object source
)
protected abstract function StartListening (
	source : Object
)
No se pueden utilizar métodos en XAML.

Parámetros

source

The source to begin listening on.

Notas para los herederos: StartListening overrides should add a handler to the provided source. The handler is declared by the manager itself. The class handler should not be public, and it should only be called in response to the event being managed. The class handler should call DeliverEvent or DeliverEventToList appropriately.

Microsoft .NET Framework 3.0 es compatible con Windows Vista, Microsoft Windows XP SP2 y Windows Server 2003 SP1.

.NET Framework

Compatible con: 3.0
Mostrar: