参数计数不匹配?
Dim parts() As String = _callbackEventArgument.Split("|")
Dim result As String = ""
Dim args() As Object = Nothing
If parts.Length > 1 Then
ReDim args(parts.Length - 2)
Array.Copy(parts, 1, args, 0, args.Length)
End If
Dim method As MethodInfo = Me.GetType().GetMethod(parts(0))
If Not method Is Nothing Then
result = method.Invoke(Me, args)
End If
Return result
执行到result = method.Invoke(Me, args)时,出错提示"参数计数不匹配"
如果callbackEventArgument="FillProduct|aaa"则正确,
如果callbackEventArgument="FillProduct|aaa|bbb"会出现以上的错误信息.