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합니다.

예외

bindernull입니다.

메서드가 없습니다.

설명

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

적용 대상