WeakEventManager.ProtectedRemoveHandler(Object, Delegate) Metoda

Definicja

Usuwa wcześniej dodaną procedurę obsługi z określonego źródła.

protected:
 void ProtectedRemoveHandler(System::Object ^ source, Delegate ^ handler);
protected void ProtectedRemoveHandler (object source, Delegate handler);
member this.ProtectedRemoveHandler : obj * Delegate -> unit
Protected Sub ProtectedRemoveHandler (source As Object, handler As Delegate)

Parametry

source
Object

Źródło do usunięcia programu obsługi.

handler
Delegate

Pełnomocnik do usunięcia z sourceelementu .

Dotyczy