ServiceManager.RemoveCallback(Delegate, Delegate) ServiceManager.RemoveCallback(Delegate, Delegate) ServiceManager.RemoveCallback(Delegate, Delegate) ServiceManager.RemoveCallback(Delegate, Delegate) Method

정의

Delegate.Remove 작업을 수행하고 제네릭 콜백에 대한 프록시인 대리자의 래핑을 해제하는 도우미 메서드입니다.A helper method that performs a Delegate.Remove operation, and unwraps delegates that are proxies to generic callbacks. Unsubscribe 구현에 이 메서드를 사용해야 합니다.You should use this method in your Unsubscribe implementations.

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 Delegate Delegate Delegate

콜백을 제거할 기존 대리자입니다.The existing delegate to remove the callback from.

toRemove
Delegate Delegate Delegate Delegate

제거할 콜백입니다.The callback to remove.

반환

기존 대리자에 할당할 새 값인 Delegate를 반환합니다.Returns Delegate, which is a new value to assign to the existing delegate.

적용 대상