WeakEventManager.ProtectedRemoveHandler(Object, Delegate) 方法

定義

從指定的來源移除先前新增的處理常式。

C#
protected void ProtectedRemoveHandler(object source, Delegate handler);

參數

source
Object

要從中移除處理常式的來源。

handler
Delegate

要從 source 移除的委派。

適用於

產品 版本
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10