在我的一项工作中,我得到了一份文件:// here I want to some work after the documentasync Task<DocumentResult> GetDocumentTask (string documentID){
loadingSpinner.showcatch(Exception ex) // do
OpenDocForReportDelegate(AddressOf currProjForm.OpenDocForReport)该方法可能引发异常,因此我决定将其代码包装在Try...Catch块中,并返回异常对象,以便可以使用EndInvoke检索它。Public Function OpenDocForReport(ByVal documentId As Int32,