Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Calls a public method of a specified object or type.
generic <typename TResult>
public ref class InvokeMethod sealed : System::Activities::AsyncCodeActivity<TResult>
[System.Windows.Markup.ContentProperty("Parameters")]
public sealed class InvokeMethod<TResult> : System.Activities.AsyncCodeActivity<TResult>
[<System.Windows.Markup.ContentProperty("Parameters")>]
type InvokeMethod<'Result> = class
inherit AsyncCodeActivity<'Result>
Public NotInheritable Class InvokeMethod(Of TResult)
Inherits AsyncCodeActivity(Of TResult)
The type of value returned by the activity.
Invoke |
Initializes a new instance of the InvokeMethod<TResult> class. |
Cache |
Gets the identifier of the cache that is unique within the scope of the workflow definition. (Inherited from Activity) |
Constraints |
Gets a collection of Constraint activities that can be configured to provide validation for the Activity. (Inherited from Activity) |
Display |
Gets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking. (Inherited from Activity) |
Generic |
The generic type arguments of the contained method. |
Id |
Gets an identifier that is unique in the scope of the workflow definition. (Inherited from Activity) |
Implementation |
Gets |
Implementation |
Gets or sets the implementation version of the activity. (Inherited from AsyncCodeActivity<TResult>) |
Method |
The name of the method to be invoked when the activity executes. |
Parameters |
The parameter collection of the method to be invoked. |
Result |
Gets or sets the result argument for the Activity<TResult>. (Inherited from Activity<TResult>) |
Result |
When implemented in a derived class, gets the type of an activity OutArgument. (Inherited from ActivityWithResult) |
Run |
Gets or sets a value that indicates whether the activity's method is invoked asynchronously. |
Target |
Gets or sets the object that contains the method to invoke. |
Target |
Gets or sets the type of the TargetObject. |
Begin |
When implemented in a derived class and using the specified execution context, callback method, and user state, enqueues an asynchronous activity in a run-time workflow. (Inherited from AsyncCodeActivity<TResult>) |
Cache |
Not implemented. Use CacheMetadata(CodeActivityMetadata) instead. (Inherited from AsyncCodeActivity<TResult>) |
Cache |
Serves as a virtual method and converts information obtained by reflection on a cache into arguments for an asynchronous activity. (Inherited from AsyncCodeActivity<TResult>) |
Cancel(Async |
When implemented in a derived class and using the specified execution environment information, notifies the workflow runtime that the asynchronous activity operation has been canceled. This method serves as a virtual method. (Inherited from AsyncCodeActivity<TResult>) |
End |
When implemented in a derived class and using the specified execution environment information, notifies the workflow runtime that the associated asynchronous activity operation has completed. (Inherited from AsyncCodeActivity<TResult>) |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
On |
Raises an event when creating a map for the dynamic update. (Inherited from AsyncCodeActivity<TResult>) |
Should |
Indicates whether the DisplayName property should be serialized. (Inherited from Activity) |
To |
Returns a String that contains the Id and DisplayName of the Activity. (Inherited from Activity) |
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in