InvokeMethod Constructeur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée une instance de la classe InvokeMethod.
public:
InvokeMethod();
public InvokeMethod ();
Public Sub New ()
Exemples
L'exemple de code suivant montre comment créer une activité InvokeMethod. Cet exemple provient de l’exemple Utilisation de l’activité 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")
}
},