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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.