Share via


DynamicScriptObject.TryInvoke(InvokeBinder, Object[], Object) 메서드

정의

기본 스크립트 메서드를 호출합니다.

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

public:
 override bool TryInvoke(System::Dynamic::InvokeBinder ^ binder, cli::array <System::Object ^> ^ args, [Runtime::InteropServices::Out] System::Object ^ % result);
public override bool TryInvoke (System.Dynamic.InvokeBinder binder, object[] args, out object result);
override this.TryInvoke : System.Dynamic.InvokeBinder * obj[] * obj -> bool
Public Overrides Function TryInvoke (binder As InvokeBinder, args As Object(), ByRef result As Object) As Boolean

매개 변수

binder
InvokeBinder

호출 사이트에서 제공한 바인더입니다.

args
Object[]

기본 메서드에 전달할 인수입니다.

result
Object

메서드 결과입니다.

반환

항상 true를 반환합니다.

예외

binder이(가) null인 경우

메서드가 존재하지 않습니다.

설명

TryInvoke 메서드는 메서드가 없는 경우 예외를 throw 합니다.

적용 대상