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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.