ContextItemManager.RemoveCallback(Delegate, Delegate) 메서드

정의

대리자를 제거하고 제네릭 콜백에 대한 프록시인 대리자의 래핑을 해제하는 도우미 메서드를 나타냅니다.

protected:
 static Delegate ^ RemoveCallback(Delegate ^ existing, Delegate ^ toRemove);
protected static Delegate RemoveCallback (Delegate existing, Delegate toRemove);
static member RemoveCallback : Delegate * Delegate -> Delegate
Protected Shared Function RemoveCallback (existing As Delegate, toRemove As Delegate) As Delegate

매개 변수

existing
Delegate

기존 대리자입니다.

toRemove
Delegate

existing에서 제거할 대리자입니다.

반환

Delegate에 할당되어야 하는 새 대리자가 포함된 existing를 반환합니다.

설명

Unsubscribe 메서드 구현에 이 메서드를 사용합니다.

적용 대상