Invoke Method Activity

Description:

Calls a public method of a specified object or type.

Inheritance Hierarchy:

System.Object
  System.Activities.Activity
    System.Activities.AsyncCodeActivity
      System.Activities.Statements.InvokeMethod

Function:

Calls a specified public instance method of an object or public static method of a type.

Properties:

Name Description

Display Name

InvokeMethod

You can change the name of an activity to one that describes what it does. A descriptive name can make a workflow easier to interpret and maintain.

GenericTypeArguments

The generic type arguments of the contained method.

MethodName

The name of the method to run, specified without parameters.

Parameters

The parameter collection of the method to be invoked.

Result

The name of a variable or argument that will hold the return value from the method’s execution.

RunAsynchronously

True if the method should be run asynchronously, False otherwise.

TargetObject

If the MethodName specifies a public instance method, the TargetObject should specify the name of a variable or argument that the method should be invoked upon. One of TargetObject or TargetType must be specified.

TargetType

If the MethodName specifies a public static method, the TargetType should specify the type that the method is defined for. One of TargetObject or TargetType must be specified.

Version Information:

Supported from: Geocortex Essentials 3.0.

For more information:

https://msdn.microsoft.com/en-us/library/system.activities.statements.invokemethod.aspx

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 4.11