CallExternalMethodActivity.OnMethodInvoked(EventArgs) Method

Definition

Provides a hook for derived classes to extract out and return values from the ParameterBindings. This method is called just after the external method is run.

C#
protected virtual void OnMethodInvoked(EventArgs e);

Parameters

e
EventArgs

An EventArgs that contains the data for the MethodInvoking event.

Examples

The following example shows an implementation of the OnMethodInvoked method.

C#
protected override void OnMethodInvoked(EventArgs e)
{
    base.OnMethodInvoked(e);
    Console.WriteLine("External Method Invoked.");
}

Applies to

Product Versions
.NET Framework 3.0, 3.5, 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

See also