CallExternalMethodActivity.OnMethodInvoked(EventArgs) Method
Definition
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.
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.