ServiceManager.GetTarget(Delegate) 메서드

정의

대리자의 대상 개체를 반환하는 도우미 메서드입니다. 제네릭 대리자를 프록시하는 대리자가 만들어진 경우 이 메서드는 프록시가 아니라 원래 개체를 올바르게 반환합니다.

protected:
 static System::Object ^ GetTarget(Delegate ^ callback);
protected static object GetTarget (Delegate callback);
static member GetTarget : Delegate -> obj
Protected Shared Function GetTarget (callback As Delegate) As Object

매개 변수

callback
Delegate

대상을 가져올 대리자입니다.

반환

콜백 대상인 Object를 반환합니다. 콜백에서 정적 개체를 나타낼 경우 null을 반환할 수 있습니다.

예외

callbacknull입니다.

적용 대상