InvokeMethod 생성자

정의

클래스의 새 인스턴스를 InvokeMethod 만듭니다.

public:
 InvokeMethod();
public InvokeMethod();
Public Sub New ()

예제

다음 코드 샘플에서는 활동을 만드는 방법을 InvokeMethod 보여 줍니다. 이 예제는 InvokeMethod 작업 사용 샘플에서 가져옵니다.

new InvokeMethod
{
    TargetObject = new InArgument<TestClass>(ctx => testClass),
    MethodName = "InstanceMethod",
    Parameters =
    {
        new InArgument<string>("My favorite number is"),
        new InArgument<int>(42),
        new InArgument<string>("first item of the param array"),
        new InArgument<string>("second item of the param array"),
        new InArgument<string>("third item of the param array")
    }
},

적용 대상