2016-04-25 50 views

回答

0

利用diagnostics.asmx Web服務 -

SharePointDiagnostics SharePointDiagnosticsObject = new SharePointDiagnostics(); 
SharePointDiagnosticsObject.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials; 
string Response = SharePointDiagnosticsObject.SendClientScriptErrorReport(message, file, line, client, stack, team, originalFile); 

欲瞭解更多詳細信息的diagnostics.asmx參考以下鏈接的使用 -

https://vivekkumar11432.wordpress.com/2016/09/23/how-to-do-logging-in-uls-from-csom-in-c/

相關問題