What is basic difference between the below way of declaring the callback method in Sharepoint:
clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed));
VS
clientContext.executeQueryAsync(onQuerySucceeded);
Aucun commentaire:
Enregistrer un commentaire