InvokeMethod Constructor

Definición

Crea una nueva instancia de la InvokeMethod clase .

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

Ejemplos

En el ejemplo de código siguiente se muestra cómo crear una InvokeMethod actividad. Este ejemplo procede del ejemplo Using the InvokeMethod Activity (Usar la actividad 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")
    }
},

Se aplica a