ExecutionScope.CreateDelegate(Int32, Object[]) 메서드

정의

동적으로 생성된 메서드를 실행하는 데 사용할 수 있는 대리자를 만듭니다.

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

public:
 Delegate ^ CreateDelegate(int indexLambda, cli::array <System::Object ^> ^ locals);
public Delegate CreateDelegate (int indexLambda, object[] locals);
member this.CreateDelegate : int * obj[] -> Delegate
Public Function CreateDelegate (indexLambda As Integer, locals As Object()) As Delegate

매개 변수

indexLambda
Int32

동적 메서드의 관련 람다 식에 대한 정보를 저장하는 개체의 인덱스입니다.

locals
Object[]

부모 컨텍스트에서 가져온 지역 변수가 들어 있는 배열입니다.

반환

동적으로 생성된 메서드를 실행할 수 있는 Delegate입니다.

적용 대상