DispatchProxy.Invoke(MethodInfo, Object[]) 메서드

정의

생성된 프록시 형식의 메서드를 호출할 때마다 이 메서드가 호출되어 컨트롤이 디스패치됩니다.

protected:
 abstract System::Object ^ Invoke(System::Reflection::MethodInfo ^ targetMethod, cli::array <System::Object ^> ^ args);
protected abstract object Invoke (System.Reflection.MethodInfo targetMethod, object[] args);
protected abstract object? Invoke (System.Reflection.MethodInfo? targetMethod, object?[]? args);
abstract member Invoke : System.Reflection.MethodInfo * obj[] -> obj
Protected MustOverride Function Invoke (targetMethod As MethodInfo, args As Object()) As Object

매개 변수

targetMethod
MethodInfo

호출자가 호출한 메서드입니다.

args
Object[]

호출자가 메서드에 전달한 인수입니다.

반환

호출자에게 반환할 개체 또는 void 메서드에 대한 null입니다.

적용 대상