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
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.
משוב
https://aka.ms/ContentUserFeedback.
בקרוב: במהלך 2024, נפתור בעיות GitHub כמנגנון המשוב לתוכן ונחליף אותו במערכת משוב חדשה. לקבלת מידע נוסף, ראה:שלח והצג משוב עבור