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.

protected:
 virtual void OnMethodInvoked(EventArgs ^ e);
protected virtual void OnMethodInvoked (EventArgs e);
abstract member OnMethodInvoked : EventArgs -> unit
override this.OnMethodInvoked : EventArgs -> unit
Protected Overridable Sub OnMethodInvoked (e As EventArgs)

Parameters

e
EventArgs

An EventArgs that contains the data for the MethodInvoking event.

Examples

The following example shows an implementation of the OnMethodInvoked method.

protected override void OnMethodInvoked(EventArgs e)
{
    base.OnMethodInvoked(e);
    Console.WriteLine("External Method Invoked.");
}
Protected Overrides Sub OnMethodInvoked(ByVal e As EventArgs)
    MyBase.OnMethodInvoked(e)
    Console.WriteLine("External Method Invoked.")
End Sub

Applies to

See also