13 references to MethodName
System.Workflow.Activities (13)
CorrelationValidator.cs (8)
68
if (((CallExternalMethodActivity)activity).
MethodName
== null || ((CallExternalMethodActivity)activity).
MethodName
.Length == 0)
71
MethodInfo methodInfo = interfaceType.GetMethod(((CallExternalMethodActivity)activity).
MethodName
, BindingFlags.Instance | BindingFlags.Public);
74
validationErrors.Add(new ValidationError(SR.GetString(SR.Error_MissingMethodName, activity.Name, ((CallExternalMethodActivity)activity).
MethodName
), ErrorNumbers.Error_MissingMethodName));
235
if (((CallExternalMethodActivity)currentActivity).
MethodName
== null || ((CallExternalMethodActivity)currentActivity).
MethodName
.Length == 0)
238
MethodInfo methodInfo = interfaceType.GetMethod(((CallExternalMethodActivity)currentActivity).
MethodName
, BindingFlags.Instance | BindingFlags.Public);
823
string operation = (activity is CallExternalMethodActivity) ? ((CallExternalMethodActivity)activity).
MethodName
: ((HandleExternalEventActivity)activity).EventName;
InvokeMethodActivity.cs (5)
164
string methodName = this.
MethodName
;
172
throw new InvalidOperationException(SR.GetString(SR.MethodInfoMissing, this.
MethodName
, this.InterfaceType.Name));
194
string methodName = this.
MethodName
;
213
object result = type.InvokeMember(this.
MethodName
, BindingFlags.InvokeMethod, new ExternalDataExchangeBinder(), serviceValue, actualParameters, parameterModifiers, null, null);
265
MethodInfo method = type.GetMethod(this.
MethodName
);