📅  最后修改于: 2022-03-11 15:03:21.339000             🧑  作者: Mango
/*
Your Javascript must pass parameters named Exactly as in the web service.
Remember that these parameters in client- and server-side are case-sensitive.
*/
// Web service:
public static List GetMyObjects(int ObjectId)
{ ...
// Javascript:
CallMethodAsync(null, "GetMyObjects", { ObjectId: theCurrentObjId }, function (data) {
self.SavedObjects = data.Result;
...
});